
delphi中有没有延时的函数
展开全部
可以直接用API函数,
he SetTimer function creates a timer with the specified time-out value.
UINT SetTimer(
HWND hWnd, //窗口句柄
UINT nIDEvent, // 时间ID
UINT uElapse, // 时间值
TIMERPROC lpTimerFunc // 时间函数,看下面
);
VOID CALLBACK TimerProc(
HWND hwnd, // handle of window for timer messages
UINT uMsg, // WM_TIMER message
UINT idEvent, // 时间ID
DWORD dwTime // 当前系统时间
);
he SetTimer function creates a timer with the specified time-out value.
UINT SetTimer(
HWND hWnd, //窗口句柄
UINT nIDEvent, // 时间ID
UINT uElapse, // 时间值
TIMERPROC lpTimerFunc // 时间函数,看下面
);
VOID CALLBACK TimerProc(
HWND hwnd, // handle of window for timer messages
UINT uMsg, // WM_TIMER message
UINT idEvent, // 时间ID
DWORD dwTime // 当前系统时间
);
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询