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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top