Главная страница
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.034 c
14-79124
Style
2003-10-28 16:13
2003.11.24
SM80, SM300


1-79039
Vitalik
2003-11-12 21:33
2003.11.24
Package?


7-79205
Demetrius
2003-09-14 10:42
2003.11.24
Mouse Scroll


11-78866
dreddd
2003-03-05 21:43
2003.11.24
про форму и UDP


7-79189
di.ma2002@mail.ru
2003-09-01 06:23
2003.11.24
Разговор через модем