Registriert seit: 18. Mär 2004
Ort: Luxembourg
3.492 Beiträge
Delphi 7 Enterprise
|
Re: Ruhezustand blockieren-> Versuch erkennen -> selbs
10. Apr 2006, 09:07
Hi ichbins,
im Interface:
procedure WMPowerBroadcast(var Msg : TWMPower) ; message WM_POWERBROADCAST;
In der Implementation:
Delphi-Quellcode:
//------------------------------------------------------------------------
procedure TfrmMain.WMPowerBroadcast(var Msg: TWMPower);
//------------------------------------------------------------------------
// Suspend ablehnen
//------------------------------------------------------------------------
begin
Msg.Result := BROADCAST_QUERY_DENY;
end;
Ibi fas ubi proxima merces
sudo /Developer/Library/uninstall-devtools --mode=all
|