CRichEditView::InsertItem

Call this function to insert a CRichEditCntrItem object into a rich edit view.

HRESULT InsertItem(
   CRichEditCntrItem* pItem 
);

Parameters

  • pItem
    Pointer to the item to be inserted.

Return Value

An HRESULT value indicating the success of the insertion.

Remarks

For more information on HRESULT, see Structure of COM Error Codes in the Windows SDK.

Requirements

Header: afxrich.h

See Also

Concepts

CRichEditView Class

CRichEditView Members

Hierarchy Chart

CRichEditView::InsertFileAsObject

CRichEditCntrItem Class