Call this function to create an object of type COleClientItem only if DoModal returns IDOK.
BOOL CreateItem(
   COleClientItem* pItem 
);
Parameters
- pItem
Points to the item to be created. 
Return Value
Nonzero if item was created; otherwise 0.
Remarks
You must allocate the COleClientItem object before you can call this function.
Requirements
Header: afxodlgs.h
See Also
Reference
COleClientItem::CreateLinkFromFile
COleClientItem::CreateFromFile
COleInsertDialog::GetSelectionType