CDocument::OnChangedViewList

virtualvoidOnChangedViewList();

Remarks

Called by the framework after a view is added to or removed from the document. The default implementation of this function checks whether the last view is being removed and, if so, deletes the document. Override this function if you want to perform special processing when the framework adds or removes a view. For example, if you want a document to remain open even when there are no views attached to it, override this function.

CDocument OverviewClass MembersHierarchy Chart

See Also   CDocument::AddView, CDocument::RemoveView