This method opens the file whose pathname is specified by lpzsPathName. If lpszPathName is NULL, a new file, containing a document of the type associated with this template, is created.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
virtual CDocument* OpenDocumentFile( LPCTSTR lpszPathName,
BOOL bMakeVisible = TRUE ) = 0;
CDocTemplate::CloseAllDocuments