다음을 통해 공유


CRichEditDoc::CreateClientItem

Call this function to create a CRichEditCntrItem object and add it to this document.

virtual CRichEditCntrItem* CreateClientItem( 
   REOBJECT* preo = NULL  
) const = 0;

Parameters

  • preo
    Pointer to an REOBJECT structure which describes an OLE item. The new CRichEditCntrItem object is constructed around this OLE item. If preo is NULL, the new client item is empty.

Return Value

Pointer to a new CRichEditCntrItem object which has been added to this document.

Remarks

This function does not perform any OLE initialization.

For more information, see the REOBJECT structure in the Windows SDK.

Requirements

Header: afxrich.h

See Also

Reference

CRichEditDoc Class

Hierarchy Chart

CRichEditCntrItem::CRichEditCntrItem

COleDocument::AddItem