CDocument::GetNextView

This method iterates through all of the document’s views. The method 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.

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

virtual CView* GetNextView( POSITION& rPosition ) const;

See Also

CDocument::AddView, CDocument::GetFirstViewPosition, CDocument::RemoveView, CDocument::UpdateAllViews