home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!mcsun!sun4nl!tnofel!felfs!rioj7
- From: rioj7@fel.tno.nl (M.L.M.Veraart)
- Subject: Re: Changing window background colour
- Organization: TNO Physics and Electronics Laboratory
- Date: Thu, 21 Jan 93 07:49:31 GMT
- Message-ID: <1993Jan21.074931.17741@fel.tno.nl>
- References: <1jeal0INNsol@ceres.kingston.ac.uk>
- Lines: 22
-
- ee_d270@ceres.kingston.ac.uk (Richard D Knight) writes:
-
-
- >Hi, my mian windows background colour is light gray, and I want my
- >child windows to have a standard white background, but when I create
- >the windows, they all have a gray background. Can anyone tell me how to
- >make the childwindow white?
-
- >thanks
-
- >ee_d270@king.ac.uk
-
- If you register a new window class you can set the background color
- to white. Then create the child windows using this class. An other possible
- solution is to process the WM_ERASEBACKGROUND message for the child windows.
-
- Mario Veraart
- --
- Mario Veraart TNO Physics and Electronics Laboratory
- email: rioj7@fel.tno.nl The Hague The Netherlands
- "If all else fails, show pretty pictures and animated videos,
- and don't talk about performance", David Bailey
-