Link to home
Start Free TrialLog in
Avatar of nigel5
nigel5

asked on

Coloured CButton...

I am looking for a way to set the background and text colours of a button?(CWnd?)

If this involves subclassing from CButton, overloading the paint service, and using the data exchange, can someone please explain how.

Cheers
Nigel.
Avatar of Zoppo
Zoppo
Flag of Germany image

Hi nigel5,

take a look at http://www.codeguru.com/buttonctrl/color_button.shtml ...

hope that helps,

ZOPPO
ASKER CERTIFIED SOLUTION
Avatar of cdesigner
cdesigner
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nigel5
nigel5

ASKER

Thats the one, and more.

Cheers.