Click to See Complete Forum and Search --> : Changing background color of dialog box


May 12th, 1999, 04:08 AM
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 ?

Sheik Mukthar
May 12th, 1999, 05:44 AM
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