Click to See Complete Forum and Search --> : Dialog BKGnd!


leoleo
January 22nd, 2003, 11:38 PM
Hi All,

I am changing the dialog bkgnd color using CreateSolidBrush(...) and returning the brush from WM_CTLCOLRDLG message handler. The program is in Win SDK. My problem is I cant change the bkgnd color of the controls in the dialog window; for eg static, slider etc.
In MFC overriding the WM_CTLCOLOR and using the call
pDC->SetBkMode(TRANSPARENT) will do the trick.
How to do this in SDK? I use CreateDialog(...) to create the dialog window.

Thanks.

leoleo
January 22nd, 2003, 11:57 PM
Pls ignore the post. I fixed it