Mega Code Archive

 
Categories / Delphi / Hardware
 

How to turn off the monitor

Title: How to 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);