Mega Code Archive

 
Categories / Delphi / Hardware
 

Turn off the monitor

Title: turn off the monitor? { turn off your monitor } SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 0); { turn on your monitor } SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, - 1);