Path: 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 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