Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-17-2008, 08:27 PM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default Detect standby or hibernation and stop it?

Is this possible with SWFKIT?
Reply With Quote
  #2 (permalink)  
Old 10-19-2008, 05:35 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Detect standby or hibernation and stop it?

Yes, it's possible. You can write a c++ program to create a window, which returns BROADCAST_QUERY_DENY when it receives a WM_POWERBROADCAST message with wparam PBT_APMQUERYSUSPEND.

http://www.codeguru.com/cpp/w-p/syst...icle.php/c6907
Reply With Quote
  #3 (permalink)  
Old 12-19-2008, 11:26 PM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default

I have no clue whatsoever how to do that. Is there no way to do it with swfkit only?

Last edited by motionman95; 12-20-2008 at 12:13 AM.
Reply With Quote
  #4 (permalink)  
Old 12-30-2008, 04:29 AM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default

That code doesn't work. I can't get it to say off.

SWFKit, would this help with detecting standby?

kirupaBlog - If it isn’t broken, take it apart and fix it! » Blog Archive » Invoking P/Invoke - Communicate with Win32

Get the monitor status : Visual C# General : Visual C# : MSDN Forums

Mobility: Make Your WPF Apps Power-Aware

Especially this one!

Power Management in Windows XP

Last edited by motionman95; 01-01-2009 at 01:47 AM.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:24 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.