August 18th, 1999, 04:01 AM
Hi,
How do I disable an item in CComboBox?
TIA,
Sujatha.
How do I disable an item in CComboBox?
TIA,
Sujatha.
|
Click to See Complete Forum and Search --> : MFC Gurus !! Please help ! August 18th, 1999, 04:01 AM Hi, How do I disable an item in CComboBox? TIA, Sujatha. August 18th, 1999, 05:46 AM 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. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |