|
-
January 26th, 2010, 05:56 AM
#4
Re: app auto close
Hello,
Would it really be a bad idea using the GetInputState function of user32 ?
It :
determines whether there are mouse-button or keyboard messages in the calling thread's message queue.
It needs then a timer and a static variable (to retrieve the time T1 each time there is an activity). You decide to close if The Time T2 - Time T1 >= accepted delay.
You would that way save to attach code to every control ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|