I want to detect if a user leaves the Form.
The following code works well but it fires off even when I'm still over the ControlBox of the Form.
What I thus want (was expecting) is that the the ControlBox also made up part and only after the mouse has left the Form and the adjoining ControlBox that the code would fire.
Private Sub Form1_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.MouseLeave
MsgBox("Im outside of form")
End Sub