void CMainFrame::OnDestroy() { CFrameWnd::OnDestroy(); KillTimer(1);}
void CMainFrame::OnClose() { KillTimer(1); CFrameWnd::OnClose();}OnClose()与OnDestroy()有什么不同?