Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.02.20;
Скачать: CL | DM;

Вниз

ScreenSaver   Найти похожие ветки 

 
Oddin ©   (2005-01-02 22:02) [0]

Как выключить ScreenSaver во время работы программы


 
GuAV ©   (2005-01-02 22:43) [1]

Once a screen saver is chosen, Windows monitors keystrokes and mouse movements and then starts the screen saver after a period of inactivity. However, Windows does not start the screen saver if any of the following conditions exist:

- The active application is not a Windows-based application.
- A computer-based training (CBT) window is present.
- The active application receives the WM_SYSCOMMAND message with the wParam parameter set to the SC_SCREENSAVE value, but it does not pass the message to the DefWindowProc function.

(с) MSDN


 
Yury   (2005-01-03 21:32) [2]

А по-русски, и по конкретнее можно?


 
GuAV ©   (2005-01-03 22:10) [3]

Чтобы SS не запустился по истечении периода указаного в настройках нужно обрабатывать WM_SYSCOMMAND и если wParam = SC_SCREENSAVE, то не передавать сообщение стандартному обработчику.



Страницы: 1 вся ветка

Текущий архив: 2005.02.20;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.052 c
14-1106646395
M234
2005-01-25 12:46
2005.02.20
C# и Java


9-1100491033
ballack
2004-11-15 06:57
2005.02.20
Как избежать наезда спрайтов друг на друга...


1-1107105535
k@rt
2005-01-30 20:18
2005.02.20
BorderStyle bsDialog + bsSizeable


4-1105114392
Colonel
2005-01-07 19:13
2005.02.20
Процессы/сервисы/службы


1-1107384287
Green_Templar
2005-02-03 01:44
2005.02.20
добавить в справку