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

    MFC Gurus !! Please help !

    Hi,
    How do I disable an item in CComboBox?

    TIA,
    Sujatha.



  2. #2
    Guest

    Re: MFC Gurus !! Please help !

    I think you can't do that easily because items in a combobox aren't windows, they are just drawed by the combobox. And there isn't any message which disable an item.
    What you could do is to creat an owner-draw Combobox.
    And draw the item yourself thanks to the overriddable virtual DrawItem function of CComboBox.



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