共用方式為


CRichEditView::GetDocument

Call this function to get a pointer to the CRichEditDoc associated with this view.

CRichEditDoc* GetDocument( ) const;

Return Value

Pointer to a CRichEditDoc object associated with your CRichEditView object.

Requirements

Header: afxrich.h

See Also

Concepts

CRichEditView Class

CRichEditView Members

Hierarchy Chart

CRichEditDoc Class

CView::GetDocument

COleClientItem::GetDocument