C
Chris Jones
Dear Folks:
I'm trying to extend the basic Winforms Combo box control
to allow users to select multiple items in the combo box.
Next to each item in the combo box would be a check box
that the user can click on. Using the DrawItem and
MeasureItem events, I can easily display the check boxes
for each item. I'm having trouble, however, trapping any
events on the dropped down combo box list. The Click,
MouseDown, etc., events only seem to apply to the non-
dropped down portion of the combo box, i.e., the small
box showing the label and the arrow that must be clicked
on to display the dropdown list.
How can I trap the click/mousedown events on the dropped
down list that appears for a combo box?
Thanks,
Chris
I'm trying to extend the basic Winforms Combo box control
to allow users to select multiple items in the combo box.
Next to each item in the combo box would be a check box
that the user can click on. Using the DrawItem and
MeasureItem events, I can easily display the check boxes
for each item. I'm having trouble, however, trapping any
events on the dropped down combo box list. The Click,
MouseDown, etc., events only seem to apply to the non-
dropped down portion of the combo box, i.e., the small
box showing the label and the arrow that must be clicked
on to display the dropdown list.
How can I trap the click/mousedown events on the dropped
down list that appears for a combo box?
Thanks,
Chris