This method adds a document to a template. The derived class CSingleDocTemplate overrides this method. If you derive your own document-template class from CDocTemplate, your derived class must override this method.
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 void AddDocument( CDocument* pDoc );
CDocTemplate::RemoveDocument, CSingleDocTemplate