I have a number of controls with ToolStrips containing buttons. I need to show or hide some of the buttons when the mouse enters the toolstrip. I know Mystery Meat is bad but it's what I've got to do.
The ToolStrip's MouseEnter
event fires when the mouse enters, but MouseLeave
does not always fire when the mouse leaves. I think this may be because the mouse has gone from being within a child, to being outside the control, without passing through the control itself.
How do I reliably detect when the mouse leaves a control?