K
kurotsuke
I need to detect if the mouse get out of the window form.
I'm displaying a form with border and titlebar with a panel that
covers all the surface of the form, so unfortunately the MouseLeave
event is of no use.
Probably it should get the form rectangle and see if the mousepointer
is contained inside.
How can I do that? (I'm working in C#)
Thanks.
I'm displaying a form with border and titlebar with a panel that
covers all the surface of the form, so unfortunately the MouseLeave
event is of no use.
Probably it should get the form rectangle and see if the mousepointer
is contained inside.
How can I do that? (I'm working in C#)
Thanks.