Вниз
Скачать: 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.015 c
4-79215
Sfagnum
2003-09-26 13:50
2003.11.24
RichEdit 2.0


1-78953
Вованчик
2003-11-12 07:56
2003.11.24
TreeView


14-79176
Igor_thief
2003-10-28 17:43
2003.11.24
Графика


1-79020
Zmei
2003-11-14 00:09
2003.11.24
Hook


1-78921
JS
2003-11-12 11:36
2003.11.24
inline-функции




   Наверх