Article View: comp.os.ms-windows.programmer.tools
Article #148Re: Icon Editor Trouble in BC++ 3.1
From: Stefan Olson
Date: Mon, 20 Jul 1992 21:21
Date: Mon, 20 Jul 1992 21:21
24 lines
1216 bytes
1216 bytes
pluto@cs.ucsd.edu (Mark Plutowksi) writes:
> stefan@olson.acme.gen.nz (Stefan Olson) writes:
>
> >Do you have the icon loading by LoadIcon() In the class registration??
>
> Yes. Here is the code (I use Borland's OWL)
>
> void TMainWindow::GetWindowClass(WNDCLASS _FAR & AWndClass)
> {
> TDialog::GetWindowClass(AWndClass);
> AWndClass.hIcon=LoadIcon(AWndClass.hInstance,"IconName");
> }
That looks right to me, but I don't know OWL well enough (yet), to be able
be sure. Someone must know...
...Stefan
------------------------------------------------------------------------
Stefan Olson Mail: stefan@olson.acme.gen.nz
Kindness in giving creates love.
------------------------------------------------------------------------
Technical Details
Message-ID:
<i398NB1w164w@olson.acme.gen.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!acmebbs!olson!stefanReferences:
<35849@sdcc12.ucsd.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!acmebbs!olson!stefan Newsgroups: comp.os.ms-windows.programmer.tools Subject: Re: Icon Editor Trouble in BC++ 3.1 Message-ID: <i398NB1w164w@olson.acme.gen.nz> From: stefan@olson.acme.gen.nz (Stefan Olson) Date: Mon, 20 Jul 92 21:21:29 +12 References: <35849@sdcc12.ucsd.edu> Keywords: Icon Editor Color Streaking Lines: 24