CDocTemplate::OpenDocumentFile

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.

At a Glance

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

Syntax

virtual CDocument* OpenDocumentFile( LPCTSTR lpszPathName,
BOOL
bMakeVisible = TRUE ) = 0;

See Also

CDocTemplate::CloseAllDocuments