Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to understand if the comp. is idle?

Status
Not open for further replies.

DVirus

Programmer
Oct 5, 2002
8
TR
hi..
I need to check if computer is idle more than 3 minutes..
I did it by checking mouse pointer.. But sometimes
user just using keyboard and mouse pointer(x,y) is
getting wrong.. So, I need to detect IDLE like windows'
screen-saver process.. How can I detect if computer is
idle (probably some minutes that I can set)...
Thanks..
 
Global message hook looking for any wm_Key or wm_mouse messages. This tells you if there's a human, not if the computer is doing something that doesn't need a human, though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top