Поделиться через


CRichEditDoc::CreateClientItem

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

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

Параметры

  • 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.

Возвращаемое значение

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

Заметки

This function does not perform any OLE initialization.

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

Требования

Header: afxrich.h

См. также

Основные понятия

CRichEditDoc Class

CRichEditDoc Members

Hierarchy Chart

CRichEditCntrItem::CRichEditCntrItem

COleDocument::AddItem