virtual void AddDocument( CDocument* pDoc );
Parameters
pDoc
A pointer to the document to be added.
Remarks
Use this function to add a document to a template. The derived classes CMultiDocTemplate and CSingleDocTemplate override this function. If you derive your own document-template class from CDocTemplate, your derived class must override this function.
CDocTemplate Overview | Class Members | Hierarchy Chart
See Also CDocTemplate::RemoveDocument, CMultiDocTemplate, CSingleDocTemplate