|
-
Jan 26th, 2007, 05:30 AM
#1
Thread Starter
Fanatic Member
[2005] Detect when the main thread is sleeping?
Hi guys,
I was just wondering whether it was possible to detect whether the main thread was sleeping? The reason i ask is because i have a application where the user can use keyboard short cuts to minimise the screen and close the whole application, but if the main thread is sleeping it (obviously) doesn't respond to the key pressed event until the thread is back 'awake'. Is there any way to get around this so that if the application is closed while the thread is sleeping it will close the application immediately instead of after the duration of sleep?
Thanks in advance for any help
If your problem has been solved then please mark the thread [RESOLVED].
If i have helped then please Rate my post 
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
|