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

    Color Problem in Control

    Hi
    In a dialog i have a combo and edit and some button controls. I wanted to set the color for combo and edit controls.So I handled WM_CTLCOLOR message. While the edit control is properly colored the combo control is not. A thin color line is formed around the border of the control and remaining portion remains in the default color. What are the possible causes for this.

    Any help in this regard is highly appreciated.

    Regards
    Kiran Kumar B.





  2. #2
    Guest

    Re: Color Problem in Control

    Because the text is drawn with default settings, try coloring the list box and the edit of the combo separately or make it ownerdrawn


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