Home All Groups Group Topic Archive Search About

Detect computer's IDLE mode

Author
25 Apr 2006 7:46 PM
MIke Kansky
I need to detect when user's computer goes to idle mode.
I also need to detect when user's computer comes back from the idle mode.

I have an application running in Sys Tray that should let the server know
that the user is inactive / active.

Any advice/resource please?

Author
26 Apr 2006 3:07 AM
Spam Catcher
"MIke Kansky" <m***@zazasoftware.com> wrote in
news:uyokxDKaGHA.1192@TK2MSFTNGP03.phx.gbl:

> I have an application running in Sys Tray that should let the server
> know that the user is inactive / active.


If you're processing data via a thread, just set the thread to the lowest
or low priority - Windows will automatically schedule the thread to be run
whenever there are free cycles.