共用方式為


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

Reference

CRichEditView Class

Hierarchy Chart

CRichEditDoc Class

CView::GetDocument

COleClientItem::GetDocument

Other Resources

CRichEditView Members