Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...