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