左左 发表于 2012-3-3 18:05:56

用资源查看器 就可以添加了

諳黑 发表于 2012-3-5 18:22:58

本帖最后由 諳黑 于 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();
}

メinɡ兴℡ 发表于 2012-4-26 12:23:31

哈哈哈和好啊爱好哈爱好爱好
页: 1 [2]
查看完整版本: 谁帮我给远程协助加个退出提示