How do I code my app to count till a certain time after say 5 minutes of "INACTIVITY"?
I can run a timer, but I am not sure how to allow my app to recognize INACTIVITY.
Any help is greatly appreciated,
Daniel Christie
Printable View
How do I code my app to count till a certain time after say 5 minutes of "INACTIVITY"?
I can run a timer, but I am not sure how to allow my app to recognize INACTIVITY.
Any help is greatly appreciated,
Daniel Christie
You can store the cursor position and detect any keys being pressed, if neigher are occuring then you can assume that the user has been inactive. For specific code take a look at this thread.
Gl,
D!m
I thank you very much.