Главная страница
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.019 c
1-79013
Michael_X
2003-11-14 09:27
2003.11.24
Считывание табличных данных из файла.


14-79163
NoviceA
2003-10-31 11:26
2003.11.24
Ставим рекорд!


3-78774
kolumb
2003-11-05 14:31
2003.11.24
InterBase


7-79194
ZHK
2003-09-15 09:51
2003.11.24
Запуск сервиса из памяти


14-79172
Думкин
2003-10-31 05:58
2003.11.24
С днем рождения! 31 октября.