🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2228

Re: Changing window background colour

#2228
From: M.L.M.Veraart
Date: Thu, 21 Jan 1993 07:49
22 lines
1226 bytes
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
Technical Details
Message-ID: <1993Jan21.074931.17741@fel.tno.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!tnofel!felfs!rioj7
References: <1jeal0INNsol@ceres.kingston.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!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