qtlearner
April 22nd, 2006, 02:53 AM
porblem solved, heh
|
Click to See Complete Forum and Search --> : Loading drawings at startup qtlearner April 22nd, 2006, 02:53 AM porblem solved, heh ovidiucucu April 22nd, 2006, 06:44 AM Can you please, share with us your found solution? cindyonlyone April 22nd, 2006, 10:29 AM Much like the following codes: if (cmdInfo.m_nShellCommand == CCommandLineInfo::FileNew) { CString strPathX = AfxGetApp()->m_pszHelpFilePath; strPathX = strPathX.Left(strPathX.ReverseFind('\\')); CString strOtherFile; strOtherFile = strPathX+_T("\\Proces1.pof"); this->OpenDocumentFile(strOtherFile); } else if (!ProcessShellCommand(cmdInfo)) { return FALSE; } Hope it is useful to you. Cindy -------------------------------------------------------------------------- For high quality flow/diagram MFC/C++ Visio 12 Like visualization Source Code,download XD++ at: http://www.********.net codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |