Вниз
Скачать: 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.015 c
14-79105
snake1977
2003-11-02 14:58
2003.11.24
Учиться, учиться и учиться.....


1-78998
Движняк
2003-11-13 22:21
2003.11.24
Слежение за приложением


14-79118
McSimm
2003-10-31 17:35
2003.11.24
Просили статистику.


14-79114
IronHawk
2003-10-17 15:28
2003.11.24
ВНИМАНИЕ! 6-я официальная встреча Мастаков в КИЕВЕ!


8-79055
Шустрый
2003-07-29 20:19
2003.11.24
Mediaplayer1.savetofile(savedialog1.filename); ???




   Наверх