Вниз
Скачать: 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.022 c
1-78933
-=GaLaN=-
2003-11-12 20:22
2003.11.24
Колесико мышки


14-79175
Brahman
2003-10-29 09:32
2003.11.24
Комсомол - что это было ?


14-79158
ИдиотЪ
2003-10-31 11:09
2003.11.24
откуда берутся идиоты?


3-78787
Andriy Tysh
2003-11-04 20:44
2003.11.24
Снова QuickReport


14-79161
Е-Моё имя
2003-10-31 11:50
2003.11.24
Задачка




   Наверх