MFC在关闭第二个窗口时关闭主对话框

AfxGetApp()->m_pMainWnd->SendMessage(WM_CLOSE);//关闭主对话框

posted @ 2016-04-07 10:37  hellohyi  阅读(252)  评论(0编辑  收藏  举报