I've set the 'mouse leave' event on a windows form and I want to hide the form when the mouse leaves the visible area.
But here is where I am facing a problem. Even when I move the mouse to a button on the same form, it calls the 'mouse leave' event, which makes this form invisible.
It means I've got to prevent the event triggering when moving the mouse to the button. But how? Any other approach?