Question Turn On Monitor with signal

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
If my monitor is asleep, i sent a
VB.NET:
        NativeMethods.PostMessage(New Runtime.InteropServices.HandleRef(form, HWND_BROADCAST),
                                  WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_ON)

to turn the monitor on but then it say no signal from the pc and went back to sleep, do i need to move the mouse or something instead to wake the pc from monitor sleep mode?
 
It would probably have less impact than sending a keypress - for example SendKeys.Send with Escape key can also wake monitor.
 
Back
Top