Вниз
Скачать: 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.017 c
1-78934
Afonya
2003-11-07 09:54
2003.11.24
Создание компонента нестандартной таблицы


1-79013
Michael_X
2003-11-14 09:27
2003.11.24
Считывание табличных данных из файла.


14-79101
gestern
2003-11-02 16:23
2003.11.24
Это всё от бардака в стране


1-79027
Torus
2003-11-12 20:10
2003.11.24
как прочитать


1-79021
ChecheNeC
2003-11-14 22:41
2003.11.24
RxRichEdit




   Наверх