G
George Aslanis
Hello,
Have several "High Security" apps, which are required to Quit if user
inactivity exceeds some time limit (ex. 10 minutes). I've seen examples,
like Peter's Software, where MouseMove Events are plastered throughout the
app or the older Timer check screen.activecontrol methods. These perform
poorly as compared to using a system hook via SetWindowsHookEx and trapping
all mouse and keyboard movements. VBAccelerator has a great set of routines
in vbalHook6.dll, but while trapping WH_MOUSE, I experienced a terrible
looping of mouse events when using calls to SysCmd(acSysCmdSetStatus,"User
Messages").
Has anyone come up with a successful "OnIdle" method at the application
level? Comments and suggestions welcome.
Thanks,
George
Have several "High Security" apps, which are required to Quit if user
inactivity exceeds some time limit (ex. 10 minutes). I've seen examples,
like Peter's Software, where MouseMove Events are plastered throughout the
app or the older Timer check screen.activecontrol methods. These perform
poorly as compared to using a system hook via SetWindowsHookEx and trapping
all mouse and keyboard movements. VBAccelerator has a great set of routines
in vbalHook6.dll, but while trapping WH_MOUSE, I experienced a terrible
looping of mouse events when using calls to SysCmd(acSysCmdSetStatus,"User
Messages").
Has anyone come up with a successful "OnIdle" method at the application
level? Comments and suggestions welcome.
Thanks,
George