.h
afx_msg void OnTimer(UINT_PTR nIDEvent)
Message map
ON_WM_TIMER()
void CDialog:: OnTimer(UINT nIDEvent)
{
CView:: OnTimer(nIDEvent);
switch (nIDEvent) ...
}
//OnInitialDialog
SetTimer(ANIMATE_MFT, 20, NULL);
//When Used
OnTimer(ANIMATE_TIMER);
OnTimer(ANIMATE_MFT);
//Destructor
KillTimer(ANIMATE_TIMER);
No comments:
Post a Comment