Hiya!
How do I change the color of a CButton? How do I change the color of a text in a CButton?
Thanks
Magnus
Printable View
Hiya!
How do I change the color of a CButton? How do I change the color of a text in a CButton?
Thanks
Magnus
Hi,
did You try WM_CTLCOLOR in the dialog class the button belongs to?
Rudolf
Hi,
For this you need to do two changes:
1. the style of the button need to be owner draw.
2. Trap WM_CTLCOLOR message.
Hope this would help you.
Regards,
Rakesh
Rakesh Verma
SSI, New Delhi
[email protected]
Try to catch WM_ERASEBKGND.
Or try Ownerdraw :))))).
Kiesha