Вниз
Скачать: 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.015 c
7-79204
MAPIIIAJL
2003-09-12 10:22
2003.11.24
Виртуальный COM порт


4-79229
Ich Hasse
2003-09-28 19:30
2003.11.24
реакция на help


1-79044
NewD
2003-11-13 07:56
2003.11.24
после загузки в ImageList иконка портится


1-78929
bIzET
2003-11-12 09:30
2003.11.24
CLX


3-78796
Flash
2003-11-05 09:56
2003.11.24
lookup-поле + Grid




   Наверх