CDocument::GetNextView

Call this member function to iterate through all of the document's views. The function returns the view identified by rPosition and then sets rPosition to the POSITION value of the next view in the list. If the retrieved view is the last in the list, then rPosition is set to NULL.

Syntax

virtual CView* GetNextView( POSITION& rPosition ) const;

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::RemoveView, CDocument::UpdateAllViews