CDocument::DeleteContents

This member function is called by the framework to delete the document's data without destroying the document object itself. The default implementation of this function does nothing. Override this function to delete the data in your document.

Syntax

virtual void DeleteContents( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDocument Overview, CDocument Member Functions, Application Architecture Classes, CDocument::OnCloseDocument, CDocument::OnNewDocument, CDocument::OnOpenDocument