-
make the screen sleep
Hi, i need a something that can make the screen go to sleepmode (or make windows stop transmitt video signals) i searched a bit, but cant find anything.
so i decidet to register ant ask :P (it isn't for any malicious sowtwere, its for someone that wanna fake that his computer is off)
Thanks in advanced :)
-
Code:
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, lParam);
http://www.codeproject.com/KB/system...ay_states.aspx
gg
-
THANKS!! now i need to find out how it works.... *clicks the link*