关
关车月
Unregistered / Unconfirmed
GUEST, unregistred user!
一般认为:
SendMessage(Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 0);//关闭显示器.
SendMessage(Handle, WM_SYSCOMMAND, SC_MONITORPOWER, -1);//打开显示器
SendMessage(Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 0);确实可以关闭显示器,但是只要动了键盘或鼠标,显示器马上又亮起来。怎么才能让它永远不亮,直到重新开机?
SendMessage(Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 0);//关闭显示器.
SendMessage(Handle, WM_SYSCOMMAND, SC_MONITORPOWER, -1);//打开显示器
SendMessage(Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 0);确实可以关闭显示器,但是只要动了键盘或鼠标,显示器马上又亮起来。怎么才能让它永远不亮,直到重新开机?