多媒体定时器与VC自带Timer比较 void CLxDlg::OnMulticlk() { // TODO: Add your control notification handler code here TimerID=timeSetEvent(50,1,(LPTIMECALLBACK)TimeProc,(DWORD)this,TIME_PERIODIC); SetTimer(1,50,NULL);//建立时钟,间隔为50毫秒 } void CLxDlg::TimeProc(UINT uID,UINT uMsg,DWORD dwUser,DWORD dw1,DWORD dw2)