G
Guest
Hello,
I was wondering if any one has found a way to implement an Idle Time event,
that is a callback is called after a set amount of idle time has elapsed.
I'm trying to run it on WM 5.0/.NetCF 2.0.
I looked at using a timer in conjunction with keyboard and mouse events, but
my app has a lot of controls and it is a pain to capture KeyUp and MouseUp
for all of them.
The subclassing of MessageWindow technique works only for user messages and
not OS messages.
I looked at IMessageFilter, but the PreFilterMessage method is not available
for .NETCF.
The GetLastInputInfo technique works only for Wink2K.
The only viable option seems to be using managed hooks. I'm a bit concerned
that it will take up to much resouces. Any one tried this?
Any one have any other suggestions?
Thanks!
Jack
I was wondering if any one has found a way to implement an Idle Time event,
that is a callback is called after a set amount of idle time has elapsed.
I'm trying to run it on WM 5.0/.NetCF 2.0.
I looked at using a timer in conjunction with keyboard and mouse events, but
my app has a lot of controls and it is a pain to capture KeyUp and MouseUp
for all of them.
The subclassing of MessageWindow technique works only for user messages and
not OS messages.
I looked at IMessageFilter, but the PreFilterMessage method is not available
for .NETCF.
The GetLastInputInfo technique works only for Wink2K.
The only viable option seems to be using managed hooks. I'm a bit concerned
that it will take up to much resouces. Any one tried this?
Any one have any other suggestions?
Thanks!
Jack