MFC 退出程序方法 - 胡杰的专栏 - 优快云博客
https://blog.youkuaiyun.com/huwei2003/article/details/21472303
退出程序:
AfxGetMainWnd()->SendMessage(WM_CLOSE);
关闭当前窗口:
this->DestroyWindow();
关闭模态对话框:
EndDialog(0);
exit(0)当前进程就再见了
MFC 退出程序方法 - 胡杰的专栏 - 优快云博客
https://blog.youkuaiyun.com/huwei2003/article/details/21472303
退出程序:
AfxGetMainWnd()->SendMessage(WM_CLOSE);
关闭当前窗口:
this->DestroyWindow();
关闭模态对话框:
EndDialog(0);
exit(0)当前进程就再见了