mfc 关闭窗口
退出程序用 AfxGetMainWnd()->SendMessage(WM_CLOSE);
关闭当前窗口 用 DestroyWindow( );
关闭模式对话框用 EndDialog(0);
?
关闭父级模式对话框 ((CDialog*)GetParent())-> EndDialog(0);
发布时间: 2012-12-26 14:39:28 作者: rapoo
mfc 关闭窗口
退出程序用 AfxGetMainWnd()->SendMessage(WM_CLOSE);
关闭当前窗口 用 DestroyWindow( );
关闭模式对话框用 EndDialog(0);
?
关闭父级模式对话框 ((CDialog*)GetParent())-> EndDialog(0);