void CMainFrame::OnStartTimer(){m_nTimer = SetTimer(1, 2000, 0);}void CMainFrame::OnStopTimer(){KillTimer(m_nTimer);}应该先在MAINFRAM.H文件下面声明,再在mainfrm.cpp文件下面调用,对吗,请教高手了
扬帆大鱼
相关分类