Вниз
Скачать: 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.014 c
3-78825
VP
2003-11-04 17:23
2003.11.24
Quick Report Pro


1-79026
bers
2003-11-13 22:04
2003.11.24
Ожидание завершения чужой программы


1-78943
AntonVS
2003-11-12 09:43
2003.11.24
в StringGrid запихать разные объекты


1-78973
P0tia
2003-11-14 15:36
2003.11.24
Создание формы


1-78928
killer
2003-11-12 14:22
2003.11.24
Image и TMemoryStream




   Наверх