void CMyWnd::OnExitAll() //退出程序
{
if(MessageBox("确实要退出吗?","屏幕作图",MB_YESNO|MB_ICONQUESTION)==IDYES)
AfxGetMainWnd()->SendMessage(WM_CLOSE,0,0);
}
void CMyWnd::OnExitAll() //退出程序
{
if(MessageBox("确实要退出吗?","屏幕作图",MB_YESNO|MB_ICONQUESTION)==IDYES)
AfxGetMainWnd()->SendMessage(WM_CLOSE,0,0);
}