Application global MouseMove. Help.

  • Thread starter Thread starter Kruno
  • Start date Start date
K

Kruno

Hi,

I need to close main win form after some time inactivity.
Users mostly do the work only with the mouse.

It's possible to handle mouse move event on application level?
Because I don't like to write next statement for each control like
Handles MyBase.MouseMove,handles control.mousemove etc.

After some time of the mouse inactivity (maybe 15 minutes) application
will close.

Thanks in advance.
 
maybe have a timer tick using API calls to check if the mouse has moved at
all, and if it hasnt in so and so minutes (counting every timer tick) then
exit the app
 
Back
Top