alanchinese Posted March 18, 2005 Posted March 18, 2005 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.