I am trying to turn a desktop monitor connected to a Windows 10 PC on and off, Any ideas how this could be done by using Delphi?
The following used to work for older Windows versions but it no longer works for Windows 10 "SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, - 1);"
Thanks!
I did not try anything yet because i need some information of how it can be done.