Re: Change the background color of check box



I have this vague memory that the background of a check button responds this way. So I
brought up my CtlColorExplorer (downloadable from my download site, as part of the CD for
our book), and indeed it does respond. This is because the check box and radio button
respond via WM_CTLCOLORSTATIC messages.

The only problem with newsgroups is that it is hard to post images to show that this
works, but feel free to download the code and check it out...
joe

On 14 Jun 2006 18:08:47 -0700, "Ajay Kalra" <ajaykalra@xxxxxxxxx> wrote:

You can also put a reflected WM_CTLCOLOR handler (=WM_CTLCOLOR) in your subclassed control
and return an appropriate HBRUSH.

But a CButton does not respond to this message. You need to owner draw
it.

---
Ajay
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: OT - Downloading Flash
    ... Due to a minor mishap this morning, I had to uninstall Adobe Flash. ... I have tried to reinstall it but the Adobe download site won't ...
    (uk.media.tv.misc)
  • Re: Malware problems... Security Alert
    ... >> I see what you mean, but the recommended download of Hijackthis is from ... >> the recommended forospyware downloads, that was an honest mistake, that's ... >> why I included the majorgeeks download site in the second post.. ... > The posting of direct links to exe files is always a thread, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: OT: Web editor that works inside Firefox, or behaves like a browser?
    ... What Joerg already tried ... can switch back & forth from Source mode to WYSIWYG mode ... but the only download site that works is in France ... Download to your heart's content. ...
    (sci.electronics.design)
  • Re: Saving to CD in Windows Movie Maker 2
    ... > download site and tried to download the KB316529 patch and my computer ... I dont understand which "patch" you tried to install ... > download site and tried to download the KB316529 patch and my computer> won't ... >>> I think your "Recording Tab" is not shown because your CD recorder is not>> roperly recognized by Windows. ...
    (microsoft.public.windowsxp.moviemaker)
  • RE: Is htmlGen still alive?
    ... I was primarily looking for a download site. ... I downloaded HyperText and definitely will give it a try. ... Todo lo que quermas saber, y lo que ni imaginabas, ...
    (comp.lang.python)