CDocTemplate::GetFirstDocPosition

Call this member function to get the position of the first document in the list of documents associated with this template. Use the POSITION value as an argument to CDocTemplate::GetNextDoc to iterate through the list of documents associated with the template.

Syntax

virtual POSITION GetFirstDocPosition( ) const = 0;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

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

See Also

CDocTemplate Overview, CDocTemplate Member Functions, Application Architecture Classes, CDocTemplate::GetNextDoc, CSingleDocTemplate