home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / misc / 3350 < prev    next >
Encoding:
Text File  |  1992-11-10  |  933 b   |  25 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!ods!scott
  3. From: scott@ods.com (Scott Harper)
  4. Subject: FAQ - WM_ICONERASEBKGND???
  5. Message-ID: <1992Nov10.191436.1975@ods.com>
  6. Organization: Optical Data Systems, Inc.
  7. X-Newsreader: TIN [version 1.1 PL6]
  8. Date: Tue, 10 Nov 1992 19:14:36 GMT
  9. Lines: 14
  10.  
  11. I'm sure this is a FAQ, but I've forgotton what the answer is...
  12.  
  13. I want to process the WM_ICONERASEBKGND message, and paint the icon's
  14. background a different color under certain circumstances.  My question
  15. is, once I get into the WM_ICONERASEBKGND case and determine that I
  16. need to repaint the background, how do I actually do it?  Should I
  17. use FillRect, or do I just need to provide the alternate brush to
  18. some other location?
  19.  
  20. Thanks -
  21. -- 
  22. Scott Harper                       Optical Data Systems, Inc.
  23. scott@ods.com                      1101 E. Arapaho Road
  24. (214) 234-6400                     Richardson, TX  75081
  25.