I need to change the background color of my dialogbox.
At the moment, I'm using CBrush::CreateSolidBrush() followed by CPaintDC::Rectangle().
Is there better/ proper way to do this ?
Printable View
I need to change the background color of my dialogbox.
At the moment, I'm using CBrush::CreateSolidBrush() followed by CPaintDC::Rectangle().
Is there better/ proper way to do this ?
try Mappin the CTLCOLOR message of dialog. there u can set the colors for the controls of dialog. i think its erasebkground message for dialog color
Mukthar