Вниз
Скачать: 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
14-79160
Pat
2003-10-31 12:49
2003.11.24
Клиент чата Мастеров by easy


3-78807
Konuhov Sergey
2003-11-03 22:25
2003.11.24
В paradox-е, файл остается заблокированным.


14-79147
Linda
2003-10-31 12:01
2003.11.24
Никто не хочет меня...


3-78861
eds
2003-11-03 13:11
2003.11.24
Процедура резервного копирования Firebird


1-78948
Вованчик
2003-11-12 09:57
2003.11.24
TreeView




   Наверх