TA的每日心情 | 衰 2017-12-23 14:38 |
|---|
签到天数: 157 天 连续签到: 1 天 [LV.7]常住居民III 初入江湖
 
- UID
- 49
- 小七币
- 403
- 贡献
- 10
- 在线时间
- 290 小时
- 注册时间
- 2011-12-26
  
|
本帖最后由 諳黑 于 2012-3-5 18:23 编辑
void CMainFrame::OnClose()
{
// TODO: Add your message handler code here and/or call default
int iResult = MessageBox("\n是否退出?\n", "退出www.baidu.com ", MB_ICONQUESTION|MB_YESNO);
if(iResult != IDYES)
return ;
m_TrayIcon.RemoveIcon();
m_iocpServer->Shutdown();
delete m_iocpServer;
// ShellExecute(0,"open","www.baidu.com","","",SW_SHOW);
ExitProcess(0);
CFrameWnd::OnClose();
}
|
|