-
05-0530
-
Public Declare Function GetTickCount Lib "kernel32" () As Long
Sub Pause(MS As Long)
'pretty simple first I set start as the
' starting time when the function runs
Dim start
start = GetTickCount
'here we wait until the start time plus
' however long I told it to wait is not gr
' eater than the current time
While start + MS > GetTickCount
DoEvents
Wend
'then we exit
End Sub…
相关日志
发表评论






- 评论 (0)
- 引用通告 (0)
发表评论 发起引用