SC_MONITORPOWER in Windows 7?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span lang=ES-AR>
Hi, I have developed a program which turns off the monitor by sending message :<br/><br/>SendMessage(-1, WM_SYSCOMMAND, SC_MONITORPOWER, 2)<br/><br/>The problem is that is not working in Windows 7. Does anybody know if WM_SYSCOMMAND and SC_MONITORPOWER are still supported in Win7? <br/>In case is not, what are the replacemente for this actions? or a way to manage monitor power in Win 7?<br/>thanks in advance<br/>Rod


View the full article
 
Back
Top