Partager via


COlePasteSpecialDialog::CreateItem

Creates the new item that was chosen in the Paste Special dialog box.

BOOL CreateItem( 
   COleClientItem* pNewItem  
);

Parameters

  • pNewItem
    Points to a COleClientItem instance. Cannot be NULL.

Return Value

Nonzero if the item was created successfully; otherwise 0.

Remarks

This function should only be called after DoModal returns IDOK.

Requirements

Header: afxodlgs.h

See Also

Reference

COlePasteSpecialDialog Class

Hierarchy Chart

COleClientItem Class

COlePasteSpecialDialog::DoModal

COlePasteSpecialDialog::GetSelectionType

COlePasteSpecialDialog::COlePasteSpecialDialog