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.
virtual void DeleteContents( );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CDocument Overview, CDocument Member Functions, Application Architecture Classes, CDocument::OnCloseDocument, CDocument::OnNewDocument, CDocument::OnOpenDocument