Thread View: borland.public.delphi.nativeapi
1 messages
1 total messages
Started by Frank Wunderlich
Fri, 14 May 2004 15:53
temporary disable Powermanagement of Monitor
Author: Frank Wunderlich
Date: Fri, 14 May 2004 15:53
Date: Fri, 14 May 2004 15:53
12 lines
1537 bytes
1537 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads