prevent Monitor Poweroff
From: Frank Wunderlich (frankwu_at_gmx.de)
Date: 05/15/04
- Next message: mm: "Timestamp difference of two files"
- Previous message: Stefan Juelke: "Wanted: Sourcecode of Delphi-games for buy"
- Next in thread: Denis Jeanroy: "Re: prevent Monitor Poweroff"
- Reply: Denis Jeanroy: "Re: prevent Monitor Poweroff"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 15 May 2004 15:24:24 +0200
hi,
is where any Way to disable Monitor-Poweroff in Windows XP?
i've tried catching WM_Syscommand with wParam SC_MONITORPOWER and
SystemParametersInfo with SPI_SETPOWEROFFACTIVE, but nothing works. I can
simulate Mouseactions in a timer-event like this
Mouse_Event(MOUSEEVENTF_MOVE, $00000001, 0, 0, 0);
Mouse_Event(MOUSEEVENTF_MOVE, $FFFFFFFF, 0, 0, 0);
but this is IMHO a dirty solution. Is there a better way to do what i want?
Thx in advance
Frank
- Next message: mm: "Timestamp difference of two files"
- Previous message: Stefan Juelke: "Wanted: Sourcecode of Delphi-games for buy"
- Next in thread: Denis Jeanroy: "Re: prevent Monitor Poweroff"
- Reply: Denis Jeanroy: "Re: prevent Monitor Poweroff"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|