2011年4月6日
摘要: 1、OnOK()或OnCancel()//只对窗口程序有用2、PostQuitMessage(0);//最常用3、ExitProcess(0);4、发送WM_CLOSE消息,如: SendMessage(WM_CLOSE, 0, 0); 5、TerminateProcess6、CDialog.Destroy() 7、exit(0);8、void CMainFrame::OnClose(){// TODO: Add your message handler code here and/or call defaultif (MessageBox("确定要退出吗?"," 阅读全文
posted @ 2011-04-06 13:36 carekee 阅读(8852) 评论(2) 推荐(2)