Hi all,
I need a way to check for no user activity for a given period of time anywhere in the program. If the time is exceeded then I have to load a password screen. Loading the password screen is very easy. The hard part is finding a way to check for the inactivity.
I could put a timer in the 1st screen that is always loaded and create a small function to reset the timer using the keypress event of my form base class but that seems like a lot of overhead. I would also have to go back through all my screens and make sure I have dodefault() in any that I use the keypress in. (And that is a whole lot of screens, over 150.)
Anyone got a better idea?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn