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.
void RemoveView( CView* pView );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CDocument Overview, CDocument Member Functions, Application Architecture Classes, CDocument::AddView, CDocument::GetFirstViewPosition, CDocument::GetNextView