segunda-feira, 22 de novembro de 2010

SC_MONITORPOWER in Windows 7?

SC_MONITORPOWER in Windows 7?: "SC_MONITORPOWER in Windows 7?

*
Wednesday, January 13, 2010 1:46 PMRodTech Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals

Sign In to Vote
0
Sign In to Vote
Hi, I have developed a program which turns off the monitor by sending message :

SendMessage(-1, WM_SYSCOMMAND, SC_MONITORPOWER, 2)

The problem is that is not working in Windows 7. Does anybody know if WM_SYSCOMMAND and SC_MONITORPOWER are still supported in Win7?
In case is not, what are the replacemente for this actions? thanks in advance
Rod
o ReplyReply
o QuoteQuote


All Replies

*
Sunday, February 28, 2010 6:31 PMRaymond Rogers Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals

Sign In to Vote
0
Sign In to Vote
I'm seeing the same problem with my application. Have you found a solution for this yet?
o ReplyReply
o QuoteQuote

*
Friday, June 11, 2010 5:30 PMRomashka_Sky Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals

Sign In to Vote
0
Sign In to Vote
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, 2);
o ReplyReply
o QuoteQuote

– Enviado usando a Barra de Ferramentas Google"

Nenhum comentário: