Newsgroups: comp.windows.ms.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!cci632!ritcsh!ultb!cms2839
From: cms2839@isc.rit.edu (a.stranger)
Subject: Re: Control class colors
Message-ID: <1991May9.042606.6260@isc.rit.edu>
Organization: RIoT
References: <1991May3.213512.7371@ulowell.ulowell.edu> <917360id@cctb.wa.com>
Date: Thu, 9 May 91 04:26:06 GMT

In article <917360id@cctb.wa.com> curt@cctb.wa.com (Curt Johnson) writes:
>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).
>

				actually , you could probably do it with
an owner_draw button , if you really wanted it .
-- 
       @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
       @     "Imagination keeps the shadows away  -  Xymox      @
       @~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@
       @       a.stranger  -  CMS2839@ritvax.isc.rit.edu        @
