CDocument::RemoveView

This method detaches a view from a document. This method removes the specified view from the list of views associated with the document; it also sets the view’s document pointer to NULL. This method is called by the framework when a frame window is closed or a pane of a splitter window is closed.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void RemoveView( CView* pView );

See Also

CDocument::AddView, CDocument::GetFirstViewPosition, CDocument::GetNextView