Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.11.24;
Скачать: 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 вся ветка

Текущий архив: 2003.11.24;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.026 c
1-79049
Татьяна
2003-11-13 14:38
2003.11.24
Найти компоненту


14-79127
sagchat
2003-11-01 12:41
2003.11.24
сбрасываются игры


1-78887
tipman
2003-11-13 09:32
2003.11.24
О параметрах командной строки...


3-78830
WondeRu
2003-11-06 08:37
2003.11.24
TQuery


14-79131
Думкин
2003-11-01 05:22
2003.11.24
С днем рождения! 1ноября.