BOOL CCh1_1::OnOpenDocument(LPCTSTR lpszPathName) { CFile file; CFileException fe; if(!file.Open(lpszPathName,CFile::modeRead|CFile::shareDenyWrite,&fe)) // { ReportSaveLoadException(lpszPathName,&fe,FALSE,AFX_IDP_FAILED_TO_OPEN_DOC); } return FALSE; DeleteContent(); BeginWaitCurso