Вниз
Скачать: 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.028 c
1-78966
NoIdeasAboutName
2003-11-15 00:09
2003.11.24
анимация.


14-79139
Mr.Ice
2003-10-31 14:21
2003.11.24
Подскажите как реализовать


7-79204
MAPIIIAJL
2003-09-12 10:22
2003.11.24
Виртуальный COM порт


14-79186
mip
2003-10-29 10:01
2003.11.24
Где купить лицензионный Delphi подешевле ?


1-78894
Mag
2003-11-12 21:13
2003.11.24
Остаток




   Наверх