|
-
August 18th, 1999, 04:01 AM
#1
MFC Gurus !! Please help !
Hi,
How do I disable an item in CComboBox?
TIA,
Sujatha.
-
August 18th, 1999, 05:46 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|