Live Chat Icon For mobile
Live Chat Icon

How can I reset the OnMouseHover timer so that it will fire again without the mouse having to leave the client area of a control

Platform: WinForms| Category: Mouse Handling

In the microsoft.public.dotnet.framework.windowsforms newsgroup, T. H. in den Bosch posted the following suggestion with a potential warning:

I found out that calling Control.ResetMouseEventArgs() does the trick. This is an undocumented internal method, so I don’t know if calling it has adverse side effects.

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.