![]() |
Stand-by für Monitore
Hi,
wie die Überschrift schon sagt: Wie koann ich einen Monitor in den Stand-by Modus versetzen, und wieder aufwecken ? |
Hallo,
Delphi-Quellcode:
HTH.
procedure TForm1.Button1Click(Sender: TObject);
begin SendMessage(Application.Handle,WM_SYSCOMMAND,SC_MONITORPOWER,2); end; Grüsse, Daniel :hi: PS: Ich verschiebe das mal nach WinAPI. |
Gefunden auf:
![]() Zitat:
MfG Florian :hi: |
Re: Stand-by für Monitore
Laut SDK:
SC_MONITORPOWER : Windows 95 only: Sets the state of the display. This command supports devices that have power-saving features, such as a battery-powered personal computer. Außerdem beschreibt ihr hier immer, wie ihr die Monis ausschaltet. Der Standby geht so (auch unter XP!): SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 1) Und ihr müsst danach nichts wieder anschalten. Geht automatisch. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:13 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz