Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.041 c
6-1101984002
yaJohn
2004-12-02 13:40
2005.02.20
Подавить сообщение об ошибках JS скрипта в ТWebBrowser


9-1100858491
cyborg
2004-11-19 13:01
2005.02.20
Выложил исходник CyborgEngine2D


6-1102273603
Biryk
2004-12-05 22:06
2005.02.20
Pomogite razobratca s DLL...


1-1107781856
mariya_mezenceva
2005-02-07 16:10
2005.02.20
vk_insert


4-1104318307
Pavlik_Morozov
2004-12-29 14:05
2005.02.20
Как вызвать DPtoLP для точек из метафайла (TMetaFile)?




   Наверх