Главная страница
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.016 c
1-78941
jack128
2003-11-12 11:05
2003.11.24
Invalid Pointer Operation


14-79174
Сатир
2003-10-30 12:30
2003.11.24
Консультанты, крепитесь!


14-79120
Fants
2003-11-01 13:57
2003.11.24
Проверка правописания


7-79203
Cardinal
2003-09-14 19:26
2003.11.24
Hello! Кто знает, как обновить конфигурацию комп-а?


4-79239
Zergling
2003-09-25 13:13
2003.11.24
Рисование в главном цикле программы