c++定時器

定時器有兩種方式:windows 一:MFC基於CWnd的Timer,指定定時器ID,響應WM_TIMER消息函數OnTimer就OK了。函數 二:基於windows API的Timer,spa 設定定時器nIDEvent:io        TIMECAPS tc; if (timeGetDevCaps(&tc, sizeof(TIMECAPS)) == TIMERR_NOERROR) { //
相關文章
相關標籤/搜索