CRichEditView::GetSelectedItem

Call this function to retrieve the OLE item (a CRichEditCntrItem object) currently selected in this CRichEditView object.

CRichEditCntrItem* GetSelectedItem( ) const;

Return Value

Pointer to a CRichEditCntrItem object selected in the CRichEditView object; NULL if no item is selected in this view.

Requirements

Header: afxrich.h

See Also

Reference

CRichEditView Class

Hierarchy Chart

CRichEditCntrItem Class

CRichEditView::GetInPlaceActiveItem

Other Resources

CRichEditView Members