Hi,
How do I disable an item in CComboBox?
TIA,
Sujatha.
Printable View
Hi,
How do I disable an item in CComboBox?
TIA,
Sujatha.
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.