home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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.
- ------------------------------------------------------------------------
-