Форум: "KOL";
Текущий архив: 2006.01.15;
Скачать: [xml.tar.bz2];
ВнизHow to prevent screensaver from starting in KOL? Найти похожие ветки
← →
IFO (2005-05-22 16:52) [0]I would like to make sure that screesaver won"t start while my application is running. I"ve tried something like this:
function TForm1.KOLForm1Message(var Msg: tagMSG; var rslt: integer): boolean;
begin
Result := false;
CASE Msg.message OF
WM_SYSCOMMAND:
if msg.wParam = SC_SCREENSAVE then
begin
rslt := 0;
result := true
end
end
end;
But it doesn"t help. Could you please advise?
← →
Владимир Кладов (2005-05-22 19:19) [1]this question is not certain for KOL.
I used API functions keybd_event and mouse_event.
← →
miek © (2005-05-23 10:14) [2]There is a simple way:
SystemParametersInfo( SPI_SCREENSAVERRUNNING, Word( False), nil, 0);
Страницы: 1 вся ветка
Форум: "KOL";
Текущий архив: 2006.01.15;
Скачать: [xml.tar.bz2];
Память: 0.44 MB
Время: 0.02 c