How to receive repeated MouseHover events in form/controls?

  • Thread starter Thread starter Sheriff
  • Start date Start date
S

Sheriff

Receiving a single mouseHover is simple, just move the mouse over my
control and wait. However, following this mouse hover event, if I
move the mouse around within the control and once again wait, nothing
happens. I have to move out of the control's perimeters and come back
and wait to trigger a hover event.

So, my question is : how do I tell the control that I'd like to
receive a MouseHover event everytime mouse stops moving over the
control for preset time?

Per MS docs old Win32 Api "TrackMouseEvent" the WM_HOVER would stop
happening once it has happened unless you reset the tracking by
calling this TrackMouseEvent once again. But how do you do that in
..Net. There is no TrackMouseEvent or ResetMouseEvent or anything like
that?

Thanks.
 
dataGrid1.ResetMouseEventArgs() should be
dataGrid1.ExposedResetMouseEventArgs()

Regards,
Phil.
 
Back
Top