home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / tools / 528 next >
Encoding:
Internet Message Format  |  1992-07-20  |  1.2 KB

  1. Path: sparky!uunet!darwin.sura.net!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!acmebbs!olson!stefan
  2. Newsgroups: comp.os.ms-windows.programmer.tools
  3. Subject: Re: Icon Editor Trouble in BC++ 3.1
  4. Message-ID: <i398NB1w164w@olson.acme.gen.nz>
  5. From: stefan@olson.acme.gen.nz (Stefan Olson)
  6. Date: Mon, 20 Jul 92 21:21:29 +12
  7. References: <35849@sdcc12.ucsd.edu>
  8. Keywords: Icon Editor Color Streaking
  9. Lines: 24
  10.  
  11. pluto@cs.ucsd.edu (Mark Plutowksi) writes:
  12.  
  13. > stefan@olson.acme.gen.nz (Stefan Olson) writes:
  14. > >Do you have the icon loading by LoadIcon() In the class registration??
  15. > Yes.  Here is the code (I use Borland's OWL)
  16. > void TMainWindow::GetWindowClass(WNDCLASS _FAR & AWndClass)
  17. > {
  18. >     TDialog::GetWindowClass(AWndClass);
  19. >     AWndClass.hIcon=LoadIcon(AWndClass.hInstance,"IconName");
  20. > }
  21.  
  22. That looks right to me, but I don't know OWL well enough (yet), to be able
  23. be sure.  Someone must know...
  24.  
  25. ...Stefan
  26.  
  27.  
  28. ------------------------------------------------------------------------
  29.    Stefan Olson                     Mail: stefan@olson.acme.gen.nz
  30.    Kindness in giving creates love.
  31. ------------------------------------------------------------------------
  32.