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


COleInsertDialog::CreateItem

Call this function to create an object of type COleClientItem only if DoModal returns IDOK.

BOOL CreateItem(
   COleClientItem* pItem 
);

Параметры

  • pItem
    Points to the item to be created.

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

Nonzero if item was created; otherwise 0.

Заметки

You must allocate the COleClientItem object before you can call this function.

Требования

Header: afxodlgs.h

См. также

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

COleInsertDialog Class

COleInsertDialog Members

Hierarchy Chart

COleClientItem::CreateLinkFromFile

COleClientItem::CreateFromFile

COleClientItem::CreateNewItem

COleClientItem::SetDrawAspect

COleInsertDialog::GetSelectionType

COleInsertDialog::DoModal