Condividi tramite


CView::GetDocument

Call this function to get a pointer to the view's document.

CDocument* GetDocument( ) const;

Return Value

A pointer to the CDocument object associated with the view. NULL if the view is not attached to a document.

Remarks

This allows you to call the document's member functions.

Requirements

Header: afxwin.h

See Also

Concepts

CView Class

CView Members

Hierarchy Chart

CDocument Class