- MFCStudy_2001/MMTimer . . . . 4 matches
MMRESULT timeSetEvent(UINT uDelay, UINT uResolution, LPTIMECALLBACK lpTimeProc, DWORD_PTR dwUser, UINT fuEvent);
* lpTimeProc : CALLBACK함수의 이름을 넣습니다.
=== TimeProc ===
void CALLBACK TimeProc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2)
클래스 선언시 timeproc함수는 static 으로 선언해야 합니다.
m_nTimerID = timeSetEvent(5, 0, (LPTIMECALLBACK)timeproc, (DWORD)this, TIME_PERIODIC);
void CALLBACK CMyDlg::timeproc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2){
Found 1 matching page out of 7555 total pages (5000 pages are searched)
You can also click here to search title.