Such a problem, I need to programmatically extinguish the backlight of the monitor and then turn it back on, wrote this code:
SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 1);
But for some reason it does not work. They say that it only rolls on XP. And how on the seven to create it?