Hi all!
I have an OwnerDrawVariable ComboBox in .net.
In the ComboBox DropDown event I display another control - works well.
In the control's Leave event I remove the control - works well.
So if you click on the DropDown button the control is displayed.
If you click anywhere other than the DropDown button the control is
removed. This works well. Sequence of events is:
ComboBox DropDown event
Leave Event
The problem is when you click on the DropDown button to display the
control and then click again on the DropDown button to collapse the
control. Sequence of events is:
ComboBox DropDown event
Leave Event
ComboBox DropDown event
How can I eat this 2nd ComboBox DropDown event?
|