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

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

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