CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Dialog BKGnd!

  1. #1
    Join Date
    Feb 2001
    Posts
    39

    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.

  2. #2
    Join Date
    Feb 2001
    Posts
    39

    Smile

    Pls ignore the post. I fixed it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured