Текущий архив: 2010.08.27;
Скачать: CL | DM;
Внизвыключить монитор Найти похожие ветки
← →
SunSh@dow (2009-04-03 11:40) [0]Привет всем.
Как выключить монитор под Vist" ой ???
Команда
SendMessage(Handle,WM_SYSCOMMAND,SC_MONITORPOWER,1);
не работает.
← →
clickmaker © (2009-04-03 11:54) [1]а SendMessage(Handle,WM_SYSCOMMAND,SC_MONITORPOWER,2);?
← →
SunSh@dow (2009-04-06 08:34) [2]
> clickmaker
Спасибо за помощь, а расшифровок этих параметров нету?
← →
brother © (2009-04-06 11:04) [3]если с 2 работает, то может так:
const
mpOn=1;
mpOff=2;
?)
← →
clickmaker © (2009-04-06 12:19) [4]> расшифровок этих параметров нету?
MSDN
SC_MONITORPOWER
Sets the state of the display. This command supports devices that have power-saving features, such as a battery-powered personal computer.
The lParam parameter can have the following values:
1 - the display is going to low power
2 - the display is being shut off
Страницы: 1 вся ветка
Текущий архив: 2010.08.27;
Скачать: CL | DM;
Память: 0.44 MB
Время: 0.057 c