CView::GetDocument

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

Call this function to get a pointer to the view’s document. This allows you to call the document’s member functions.

CView OverviewClass MembersHierarchy Chart

See Also   CDocument