9 998169 Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-21 #1 我想上一段程序在3分钟内实 循环,如何实现延时3分钟
K kaideng Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-21 #4 timer控件interval:=1000*60*3
2 203010 Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-21 #6 procedure Delay(D: DWORD); var Start: DWORD; begin Start := GetTickCount; while GetTickCount - Start <= Ddo ; end; 这是毫秒级的
procedure Delay(D: DWORD); var Start: DWORD; begin Start := GetTickCount; while GetTickCount - Start <= Ddo ; end; 这是毫秒级的
A abcgo Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-21 #7 procedure Delay(msecs:integer); var FirstTickCount:longint; begin FirstTickCount:=GetTickCount; repeat Application.ProcessMessages; until ((GetTickCount-FirstTickCount) >= Longint(msecs)); end; 要延时3分钟:delay(3*60*1000)
procedure Delay(msecs:integer); var FirstTickCount:longint; begin FirstTickCount:=GetTickCount; repeat Application.ProcessMessages; until ((GetTickCount-FirstTickCount) >= Longint(msecs)); end; 要延时3分钟:delay(3*60*1000)
C chzhguoaa Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-21 #9 The GetTickCount function retrieves the number of milliseconds that have elapsed since Windows was started. 我查了一下帮助,你自己看吧
The GetTickCount function retrieves the number of milliseconds that have elapsed since Windows was started. 我查了一下帮助,你自己看吧