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

Как реализовать Application.ProcessMessages на WinApi?(-)   Найти похожие ветки 

← →
plyaznik   (2003-09-28 02:07) [0]

-


← →
Asteroid ©   (2003-09-28 06:29) [1]


function ProcessMessages(): Boolean;
begin
if ( PeekMessage( msg, 0, 0, 0, PM_REMOVE ) ) then // Check if there is a message for this window
begin
if ( msg.message = WM_QUIT ) then // If WM_QUIT message received then we are done
finished := True
else
begin // Else translate and dispatch the message to this window
TranslateMessage(msg);
DispatchMessage(msg);
end;
Result := true;
end
else
Result := false;
end;


Result - были ли вообще сообщения в очереди.



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

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



Память: 0.44 MB
Время: 0.016 c
4-79248
Armageddon
2003-09-30 11:03
2003.11.24
Как перехватить клик мыши не в собственном окне


1-78919
Alex2
2003-11-12 11:44
2003.11.24
Не могу отыскать координаты


3-78757
Алексей Мэрфи
2003-11-03 14:23
2003.11.24
Многопользовательский доступ к DBF


4-79232
--= Eagle =--
2003-09-28 10:28
2003.11.24
Как перехватить изменение файла (++)


3-78831
Shaman
2003-11-04 15:11
2003.11.24
Какой UDF вычленить день из даты?




   Наверх