Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Header in CExtCheckComboBox Collapse All
Subject Author Date
mediatime Conseil Jan 15, 2013 - 3:52 AM

Hello


I am using the CExtCheckComboBox and I want to have a header with a check all control, so I can check or uncheck all items in the dropdown list of the combo


Is thi possible?


Thank you


 

Piotr Tracz Feb 20, 2013 - 7:29 AM

Yes you can.


1. Create own derived class from CExtCheckComboBox and do it inside of it


2. Add "<check all>" string to the combobox, use SetItemData, then cach OnSelChange on your form and select all items in for() loop.