Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can I change the back color of a radio button control in VC++ MFC,same as dialog color.please help...
from
Debarun
email-xxx@rediffmail.com
[Update] How ? Please give some pseudo code please please...
Posted
Updated 14-Jan-13 18:29pm
v3
Comments
[no name] 29-Jun-12 10:54am    
Removed email address to prevent your getting spammed.

1 solution

Just subclass your button by an CButton object,
to react to the WM_ERASEBKGND message
and then to fill the button's area out :)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900