combobox...

alanchinese

Regular
Joined
Jan 12, 2005
Messages
62
if you need to create a ComboBox user control from scratch, what do you need to do? i am curious to see how the drop-down ListBox is rander.
i want to put a CheckedListBox instead of ListBox. is there a way to inherit from the ListControl? (because ComboBox and ListBox are both derived from that)
i was reading an example user control called BetterComboBox. it sets the location of the drop-down ListBox by the function SetWindowPos inside the overrided function WinProc for message WM_CTLCOLORLISTBOX (0x0134). so this drop-down ListBox is a window created and controled by ComboBox?
thankx.
 
Back
Top