Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I derived the class CMyComboBox from CComboBoxEx and
when we select the entry from it then it is closing combo box but i do not want to close it for some entries in the combo box.

how do i do this?

e.g.
following are the entries in combo box

---Departments---
Dep_Name1
Dep_Name2


so here, when we select the entry '---Departments---' then i dont want to close combo box.

how do i do this?
Posted

1 solution

This artical does something similar to what you require

A Custom Group Combo Box[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900