home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5229 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!mcsun!sun4nl!tnofel!felfs!rioj7
  3. From: rioj7@fel.tno.nl (M.L.M.Veraart)
  4. Subject: Re: Changing window background colour
  5. Organization: TNO Physics and Electronics Laboratory
  6. Date: Thu, 21 Jan 93 07:49:31 GMT
  7. Message-ID: <1993Jan21.074931.17741@fel.tno.nl>
  8. References: <1jeal0INNsol@ceres.kingston.ac.uk>
  9. Lines: 22
  10.  
  11. ee_d270@ceres.kingston.ac.uk (Richard D Knight) writes:
  12.  
  13.  
  14. >Hi, my mian windows background colour is light gray, and I want my 
  15. >child windows to have a standard white background, but when I create
  16. >the windows, they all have a gray background. Can anyone tell me how to
  17. >make the childwindow white?
  18.  
  19. >thanks
  20.  
  21. >ee_d270@king.ac.uk
  22.  
  23. If you register a new window class you can set the background color
  24. to white. Then create the child windows using this class. An other possible
  25. solution is to process the WM_ERASEBACKGROUND message for the child windows.
  26.  
  27. Mario Veraart
  28. -- 
  29. Mario Veraart                  TNO Physics and Electronics Laboratory
  30. email: rioj7@fel.tno.nl        The Hague       The Netherlands
  31. "If all else fails, show pretty pictures and animated videos, 
  32.  and don't talk about performance",  David Bailey
  33.