I have a combobox dropdownlist (A 3rd party control that allows you to get the height of the dropdown area) as well as a 3rd Party ToolTip control (this is needed instead of windows as it allows for the tip to show combobox list items as the are hovered over).
The issue I am having involves that when you hover over an item and quickly move the mouse away, the tooltip for the last item pops up.
I need to be able to determine if the mouse cursor is still inside the dropdoiwn area, and if it isnt cancel the tooltip pop-up event.
I tried doing this a few ways, first by getting a panel, setting the location, width and hieght to that of the dropdown area, and then attaching mouse enter and leave events, setting a bool on enter and on leave to determine if the mouse was still in the area, yet they do not fire as expected - then I read that the mouse enter and leave isnt exactly what I am looking for - I found this comment on the web suggesting another idea...
"You could iterate through the control tree and add MouseEnter and
MouseLeave events to every single control. Then do the same for every
single ControlAdded and ControlRemoved, adding/removing all four event
bindings to every new control added anywhere in the tree. Just recurse
through the control.Controls collection."
I dont know if this is the way to go, but at this point I am willing to try anything that works - does anyone know how to accomplish this or another way to determine if the mouse cursor has entered/left a control area such as a panel ??