Thema: Delphi Stand-by für Monitore

Einzelnen Beitrag anzeigen

iLegacy

Registriert seit: 14. Nov 2003
1 Beiträge
 
#4

Re: Stand-by für Monitore

  Alt 14. Nov 2003, 15:59
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.
  Mit Zitat antworten Zitat