共用方式為


COleConvertDialog::DoConvert

Call this function, after returning successfully from DoModal, either to convert or to activate an object of type COleClientItem.

BOOL DoConvert( 
  COleClientItem* pItem  
);

Parameters

  • pItem
    Points to the item to be converted or activated. Cannot be NULL.

Return Value

Nonzero if successful; otherwise 0.

Remarks

The item is converted or activated according to the information selected by the user in the Convert dialog box.

Requirements

Header: afxodlgs.h

See Also

Reference

COleConvertDialog Class

Hierarchy Chart

COleClientItem Class

COleConvertDialog::DoModal

COleConvertDialog::GetSelectionType

COleClientItem::ConvertTo

COleClientItem::ActivateAs