🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2501

Re: Control class colors

#2501
From: Curt Johnson
Date: Tue, 07 May 1991 21:17
18 lines
1133 bytes
In article <1991May3.213512.7371@ulowell.ulowell.edu> dpelland@hawk.ulowell.edu (David Pelland) writes:
| 	Could someone please enlighten me as to how I can set
| 	the background color of a control class window.  I've
| 	tried doing it at creation time, and by processing the
| 	WM_CTLCOLOR message.  I must be doing something wrong.
| 	Any help is appreciated.
| 
| 	All I wanted was a red button... :(

Sorry, you can't do it.

All windows will let you change is the color the button
procedure uses for the WINDOW background, this color is
placed in 1 pixel in each corner of the button (to give
it a somewhat rounded look).


Curt Johnson == curt@cctb.wa.com
Technical Details
Message-ID: <917360id@cctb.wa.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!pilchuck!amc-gw!quick!cctb!curt
References: <1991May3.213512.7371@ulowell.ulowell.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!pilchuck!amc-gw!quick!cctb!curt
From: curt@cctb.wa.com (Curt Johnson)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Control class colors
Message-ID: <917360id@cctb.wa.com>
Date: 7 May 91 21:17:44 GMT
Article-I.D.: cctb.917360id
References: <1991May3.213512.7371@ulowell.ulowell.edu>
Organization: Chemical Computer Thinking Battery, Redmond, WA
Lines: 18