cube01
August 25th, 1999, 08:21 PM
How can I tell if the system has been idle for x amount of minutes?
kinda' like a screen saver runs after x minutes... how can I create an app that runs a prog after x minutes?
thanks.. cube
arund
August 30th, 1999, 07:14 AM
Hi
Use WM_TIMMER.
This message will be generated after the time period elapses which you will set using SetTimmer function . At this point you can call your program.
Note - This function will be called every time when the specified interval elapses.
regards
Arun D
Jack Shainsky
August 30th, 1999, 07:55 AM
You can install keyboard and mouse hooks, and remember time when last user action had performed. If the difference between current time and time when last mouse action had performed is more then X minutes, you can launch the needed program.
Jack Shainsky
Jerusalem, Israel
jack.shainsky@usa.net