📄 应用程序退出时提示“是否真的退出”.txt
字号:
重载C**App的ExitInstance()函数,然后在其中加入
int C**App::ExitInstance()
{
// TODO: Add your specialized code here and/or call the base class
if (MessageBox("你确定要退出吗?","我的程序",MB_ICONQUESTION|MB_OKCANCEL) ==IDOK)
return CWinApp::ExitInstance();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -