CDocument::RemoveView

Call this member function to detach a view from a document. This function removes the specified view from the list of views associated with the document; it also sets the view's document pointer to NULL. This member function is called by the framework when a frame window is closed or a pane of a splitter window is closed.

Syntax

void RemoveView( CView* pView );

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::AddView, CDocument::GetFirstViewPosition, CDocument::GetNextView