Вниз
Скачать: CL | DM;

Пример функции SetTimer ???   Найти похожие ветки 

 
Cosmic   (2002-11-10 18:42) [0]

Кто знает как использовать - напишите примерчик, плз...


 
apay ©   (2002-11-11 00:52) [1]


TFotm1 = class(TForm)
...
private
TimerID: DWORD;
procedure WMTimer( var Msg: TWMTimer ); message WM_TIMER;
...
end;


...
TimerID := <что-то>;
SetTimer( Handle, TimerID, <milliseconds>, nil );

...

procedure TForm1.WMTimer( var Msg: TWMTimer ); message WM_TIMER;
begin
if Msg.TimerID = TimerID then begin
<делаем что-то>
Msg.Result := 0;
end
else inherited;
end;




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

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



Память: 0.44 MB
Время: 0.017 c
6-74870
bartov
2002-10-28 18:49
2002.12.23
RAS


3-74552
Relict
2002-12-04 11:54
2002.12.23
Jpeg MSSQL


1-74668
sammy
2002-12-13 07:08
2002.12.23
SetWindowsHookEx


1-74801
PaRL
2002-12-08 14:18
2002.12.23
Частота и имя процессора


7-75025
Metallica
2002-07-28 14:07
2002.12.23
Запуск программы при загрузке Windows.




   Наверх