I override the OnMouseMove method, like this:
Private Shared OurToolTip As New ToolTip
Protected Overrides Sub OnMouseMove(ByVal e As MouseEventArgs)
MyBase.OnMouseMove(e)
OurToolTip.Show(e.Location.ToString(), Me, _
e.Location.X + 16, e.Location.Y, 2000)
End Sub
I trace this function (with a tracepoint).
When I move the mouse over the form, and then stop moving, the function is traced(from 2 to 2 seconds) however independent of if I move or not the mouse!
Apparently the tooltip.Show/Hide generates a new mouseMove event(?!)
, so is there a way to "fix" the mouse, and display the tooltip for only 2 seconds?