CDocTemplate::RemoveDocument

This method removes the document pointed to by pDoc from the list of documents associated with this 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 RemoveDocument( CDocument* pDoc );

See Also

CDocTemplate::AddDocument, CSingleDocTemplate