CDocTemplate::AddDocument

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.

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 void AddDocument( CDocument* pDoc );

See Also

CDocTemplate::RemoveDocument, CSingleDocTemplate