Freigeben über


COleServerItem::AddOtherClipboardData

Call this function to place the presentation and conversion formats for the OLE item in the specified COleDataSource object.

void AddOtherClipboardData(
   COleDataSource* pDataSource 
);

Parameters

  • pDataSource
    Pointer to the COleDataSource object in which the data should be placed.

Remarks

You must have implemented the OnDraw member function to provide the presentation format (a metafile picture) for the item. To support other conversion formats, register them using the COleDataSource object returned by GetDataSource and override the OnRenderData member function to provide data in the formats you want to support.

Requirements

Header: afxole.h

See Also

Reference

COleServerItem Class

Hierarchy Chart

COleDataSource Class

COleServerItem::GetDataSource

COleServerItem::GetEmbedSourceData

COleServerItem::OnDraw

Other Resources

COleServerItem Members