Главная страница
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.021 c
3-78846
MORA
2003-11-04 04:25
2003.11.24
IB 6


3-78793
Элина
2003-11-05 13:44
2003.11.24
странный глюк...


11-78873
chum
2003-03-03 14:13
2003.11.24
Ошибка с включением файла!!!


3-78778
Liavik
2003-11-05 17:20
2003.11.24
QuickRep


14-79108
Думкин
2003-11-02 05:39
2003.11.24
С днем рождения! 2 ноября.