SetTimer/OnTimer

SetTimer(1,5000,NULL);//1=nIDEvent,5000毫秒
void CYiDlg::OnTimer(UINT_PTR nIDEvent)
UINT_PTR SetTimer( HWND hWnd,     UINT_PTR nIDEvent,     UINT uElapse,     TIMERPROC lpTimerFunc );

你可能感兴趣的:(SetTimer/OnTimer)