Delphi相談室その7
■ このスレッドは過去ログ倉庫に格納されています
0617Delフサギコ ◆A6VzDeLphI
NGNGミ,, ゚Д゚彡 < 連続で呼び出すと変になるけど...
〃つ_つ/  ̄ ̄ ̄/\_____________
〜ミ,,, ,,|\ ./ レ ッ シ /
'\/.======./
 ̄ ̄ ̄
procedure SleepProcessMessages(Milliseconds: Cardinal);
var
StartTime, NowTime: Cardinal;
begin
StartTime := GetTickCount;
while true do
begin
NowTime := GetTickCount;
if Milliseconds <= (NowTime - StartTime) then
Break;
Application.ProcessMessages;
end;
end;
■ このスレッドは過去ログ倉庫に格納されています