Поделиться через


CDocument::OnChangedViewList

Called by the framework after a view is added to or removed from the document.

virtual void OnChangedViewList( );

Заметки

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.

Требования

Header: afxwin.h

См. также

Основные понятия

CDocument Class

CDocument Members

Hierarchy Chart

CDocument::AddView

CDocument::RemoveView