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

    HOW TO change the background when using CDC::TextOut ??

    Hi,

    When I use CDC::TextOut on my dialog box, the text is written correctly, put there is always a white background !! I would like to have the system background.

    Could you help me with that ?

    Thans for your help.

    Anonymous


  2. #2

    Re: HOW TO change the background when using CDC::TextOut ??

    try dc.SetBKColor(GetSysColor(COLOR_...));
    (and return BK color back after operation)


  3. #3
    Guest

    Re: HOW TO change the background when using CDC::TextOut ??

    Thanks, it works with COLOR_MENU.


  4. #4

    Re: HOW TO change the background when using CDC::TextOut ??

    why not COLOR_WINDOW?


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