Home All Groups Group Topic Archive Search About

Application global MouseMove. Help.

Author
19 Jan 2006 6:44 PM
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.

Author
19 Jan 2006 8:36 PM
iwdu15
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
--
-iwdu15
Author
30 Jan 2006 11:43 AM
Kruno
Thanks.