Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop GUI Develop
Title: OnlyOneInst Download
  • Category:
  • GUI Develop
  • Tags:
  • File Size:
  • 20kb
  • Update:
  • 2012-11-26
  • Downloads:
  • 0 Times
  • Uploaded by:
  • oshan2008
 Description: BOOL COnlyOneInstApp::InitInstance() { if (!FirstInstance()) return FALSE //已经有实例存在了,退出 //根据主窗口类名和主窗口名判断是否已经有实例存在了 if (pWndPrev = CWnd::FindWindow(_T("#32770"),"OnlyOne")) {//如果存在就将其激活,并显示出来 pWndChild = pWndPrev->GetLastActivePopup() //如果是最小化的就还原窗口 if (pWndPrev->IsIconic()) pWndPrev->ShowWindow(SW_RESTORE) pWndChild->SetForegroundWindow() return FALSE }
 Downloaders recently: [More information of uploader oshan2008]
 To Search:
  • [HtmlCtrl] - This is an HTML control to display in th
File list (Check if you may need any files):
(没有文件,原文件不完全或已损坏或有密码)    

CodeBus www.codebus.net