|
-
January 23rd, 2003, 12:38 AM
#1
Dialog BKGnd!
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|