SendMessage/SC_MONITORPOWER won’t turn monitor ON when running Windows 8

I had the same problem, the solution I found is to move the mouse :

mouse_event(MOUSEEVENTF_MOVE, 0, 1, 0, NULL);
Sleep(40);
mouse_event(MOUSEEVENTF_MOVE, 0, -1, 0, NULL);

It will wake the monitor on.
Earlypearl

Leave a Comment