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

Threaded View

  1. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: Change color of combo box

    Quote Originally Posted by OneEyeMan View Post
    Thank you for the reply, guys.
    Is there a straight Win32 way - no MFC?
    Yes. You could implement owner (or custom) drawing for your control.
    Or you could try to handle both WM_CTLCOLORLISTBOX and WM_CTLCOLOREDIT messages (sorry, I never did it myself in plain Win32, so I can only guess!(
    Last edited by VictorN; February 15th, 2012 at 08:45 AM. Reason: Some correctins from Ovidiucucu about WM_CTLCOLOR message
    Victor Nijegorodov

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