...turn off the monitor?

Author: Simon Grossenbacher
Homepage: http://www.swissdelphicenter.ch

Category: System

{ turn off your monitor }

SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 0);

{ turn on your monitor }

SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, - 1);

 

printed from
www.swissdelphicenter.ch
developers knowledge base