Showing posts with label monitor. Show all posts
Showing posts with label monitor. Show all posts
Subscribe to:
Posts (Atom)
Question:
Some application has fuction to turn off monitor.
Show me how?
Answer:
Please use this command
{ turn off your monitor }
SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 0);
{ turn on your monitor }
SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, - 1);