Вниз
Скачать: 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.038 c
14-79183
aVast
2003-10-27 16:50
2003.11.24
Замечательнейшая вещь EhLib!!!


6-79085
Mr.Ice
2003-09-28 02:31
2003.11.24
webbrowser


6-79083
Barmutik
2003-08-17 12:46
2003.11.24
WebBrowser + AutoComplete имена пользователей и пароли


8-79060
LevAlexander
2003-07-27 19:18
2003.11.24
Работа с MediaPlayer ...


1-78985
Jul
2003-11-14 13:31
2003.11.24
опять Excel - CoInitialize has not been called




   Наверх