F
feng
In our VB.Net Windows application we need to implement
a "timeout" type of funtionality - If the the user leave
the application idle for certain peroid of time, depending
on configureable setting, then I want the system to
timeout and send him/her to login again.
To do this all I need is a client side timer that controls
the timeout. The difficaulty for me is how to implement
the re-setting of the timer. Because any user action in
the application's UI, such as a mouse clicking, a key
strok, sould reset the timer. But how do I capture all
those events? It's almost like that I need a "catch-all"
type of top level event that captures all event. But how
do I do that?
Thanks!
a "timeout" type of funtionality - If the the user leave
the application idle for certain peroid of time, depending
on configureable setting, then I want the system to
timeout and send him/her to login again.
To do this all I need is a client side timer that controls
the timeout. The difficaulty for me is how to implement
the re-setting of the timer. Because any user action in
the application's UI, such as a mouse clicking, a key
strok, sould reset the timer. But how do I capture all
those events? It's almost like that I need a "catch-all"
type of top level event that captures all event. But how
do I do that?
Thanks!