Главная страница
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.018 c
3-78766
smu
2003-11-03 14:19
2003.11.24
Для чего нужно свойство Datasource компонента IBQuery?


1-79053
Jul
2003-11-13 13:24
2003.11.24
Office_TLB


3-78861
eds
2003-11-03 13:11
2003.11.24
Процедура резервного копирования Firebird


3-78753
Erden
2003-11-03 12:18
2003.11.24
Хранимая процедура


3-78821
OlgaTelekom
2003-11-04 10:19
2003.11.24
формирование новой страницы в FastReport