COleInsertDialog::CreateItem

BOOL CreateItem( COleClientItem* pItem );

Return Value

Nonzero if item was created; otherwise 0.

Parameters

pItem

Points to the item to be created.

Remarks

Call this function to create an object of type COleClientItem only if DoModal returns IDOK. You must allocate the COleClientItem object before you can call this function.

COleInsertDialog OverviewClass MembersHierarchy Chart

See Also COleClientItem::CreateLinkFromFile, COleClientItem::CreateFromFile, COleClientItem::CreateNewItem, COleClientItem::SetDrawAspect, COleInsertDialog::GetSelectionType, COleInsertDialog::DoModal