CView::GetDocument

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

CDocument* GetDocument( ) const;

Возвращаемое значение

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

Заметки

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

Требования

Header: afxwin.h

См. также

Основные понятия

CView Class

CView Members

Hierarchy Chart

CDocument Class