I want to know when the user has the mouse over the border of a form. I also want to be able to know if its the top/bottom or left/right border.
There does not seem to be any events for this. I have tried using MouseMove on the form but it only fires when it is “inside” the form.
I have tried looking at the Bounds property but that does not have any events.
What can I do to solve this?
You have to override the WNDPROC method and look for WM_NC* messages.
This link should get you started: Mouse events from a non-client area of a control