
Change Color of CButton, CEdit and so on
Thank you David.
I did that already, CEdit & Co make this well, but CButton... it seems that
it doesn't send this message. I've found some examples, but always it need
to draw the Buttons by myself. C++ Builder makes this so easy as VB. I
wonder, how they have realized this:)
Oleg
Quote:
> >How can I change the background and textcolor of these elements?
> Oleg,
> Have a look at WM_CTLCOLOR. Note that for buttons you'll need to use
> an owner-drawn control.
> Dave
> --
> MVP VC++ FAQ: http://www.mvps.org/vcfaq
> My address is altered to discourage junk mail.
> Please post responses to the newsgroup thread,
> there's no need for follow-up email copies.