Windows Events
-
Hello, I have an application which sits all the time in system tray. And i want to set user off, when he is inactive. How can I get Windows MouseMove and Windows Keypress events? Thanks.
I believe the only event that any icon, tray or system menu, gets, is the click event.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Hello, I have an application which sits all the time in system tray. And i want to set user off, when he is inactive. How can I get Windows MouseMove and Windows Keypress events? Thanks.
Have a look at the many "screen saver" articles on Code Project to learn how to detect user activity. I havent done this myself, but I expect it to be rather simple. :)
Luc Pattyn
-
Hello, I have an application which sits all the time in system tray. And i want to set user off, when he is inactive. How can I get Windows MouseMove and Windows Keypress events? Thanks.
Monin D. wrote:
i want to set user off, when he is inactive.
Wait for the user to become inactive. Light fuse - get away. Should explode in 5 seconds.
Dave Kreskowiak Microsoft MVP - Visual Basic