Главная страница
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.026 c
3-78857
Andrey000
2003-11-03 11:56
2003.11.24
Помогите с ADO не освобождается память


1-78893
safo
2003-11-12 16:29
2003.11.24
Как переделать приложение в сервис ОС?


1-78954
KSergey
2003-11-11 13:55
2003.11.24
Исходники ф-ций из модуля System, ф-ция Pos


3-78853
djon
2003-11-03 15:08
2003.11.24
Ошибка ClientDataSet.ApplyUpdates


1-78965
glitch
2003-11-14 18:49
2003.11.24
Уведомление об изменении реестра