|
-
Apr 17th, 2001, 09:26 AM
#1
Thread Starter
Frenzied Member
You need to subclass your application's main window and wathc for a WM_POWER message.
If you recieve that message and the wParam is PWR_SUSPENDREQUEST then return PWR_FAIL and don't pass the message on to the default window proc then the power suspend will not go ahead.
There are some good examples at Merrion Computing
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
|