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

    Changing background color of dialog box

    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 ?


  2. #2
    Join Date
    Apr 1999
    Posts
    11

    Re: Changing background color of dialog box

    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

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