Share via


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

Reference

CRichEditView Class

Hierarchy Chart

CRichEditView::InsertFileAsObject

CRichEditCntrItem Class