Sergei Orlow mentioned this to All:
SO> How can I detect win`95 idle time, or application idle time (from the
last
SO> keypress/mousemoving moment) ?
Check out the Application.OnIdle event. It fires when idle time occurs,
although irregardless of keypress or mouse movement. For those, you will
need to use Application.OnMessage and trap for all keyboard and mouse
messages, and then a TTimer or TThread to determine when an adequate period
of inactivity has passed.
...Gary Weinfurther
--- GoldED 2.41
---------------
* Origin: Nobody expects the Flying Circus BBS! (1:2410/905)
|