![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
ScreenSaver
Oddin © (2005-01-02 22:02:00)Как выключить ScreenSaver во время работы программы
GuAV (2005-01-03 22:10:00) [1]Чтобы SS не запустился по истечении периода указаного в настройках нужно обрабатывать WM_SYSCOMMAND и если wParam = SC_SCREENSAVE, то не передавать сообщение стандартному обработчику.
Yury (2005-01-03 21:32:00) [2]А по-русски, и по конкретнее можно?
GuAV (2005-01-02 22:43:00) [3]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