Oct 17, 2003 #1 kcj402003 Programmer Sep 2, 2003 50 US I want to use a timer to automatically close a windows app if there is no user activity for a set time. Can anyone help me with this.
I want to use a timer to automatically close a windows app if there is no user activity for a set time. Can anyone help me with this.
Oct 17, 2003 #2 RobHudson Programmer Apr 30, 2001 172 GB The first thing that jumps to my mind is to reset the timer each time an event is run - ie. button clicked -> reset the timer. Not super efficient I am sure, but should do the the trick... Upvote 0 Downvote
The first thing that jumps to my mind is to reset the timer each time an event is run - ie. button clicked -> reset the timer. Not super efficient I am sure, but should do the the trick...
Oct 17, 2003 #3 DotNetDoc Instructor Oct 13, 2003 267 US You can use the mouse move event on the form DotNetDoc M.C.S.D. --------------------------------------- Tell me and I forget. Show me and I remember. Involve me and I understand. - Anonymous Chinese Proverb ----------------------------------- If you can't explain it simply, you don't understand it well enough. - A. Einstein Upvote 0 Downvote
You can use the mouse move event on the form DotNetDoc M.C.S.D. --------------------------------------- Tell me and I forget. Show me and I remember. Involve me and I understand. - Anonymous Chinese Proverb ----------------------------------- If you can't explain it simply, you don't understand it well enough. - A. Einstein
Oct 22, 2003 Thread starter #4 kcj402003 Programmer Sep 2, 2003 50 US I got it to work. Thanks!! KJ Upvote 0 Downvote