CDocTemplate::GetFirstDocPosition

This method gets the position of the first document in the list of documents associated with this template. Use the POSITION value as an parameter to CDocTemplate::GetNextDoc to iterate through the list of documents associated with the template.

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 POSITION GetFirstDocPosition( ) const = 0;

Remarks

CSingleDocTemplate overrides this pure virtual method. Any class you derive from CDocTemplate must also override this method.

See Also

CDocTemplate::GetNextDoc, CSingleDocTemplate