COleServerItem::AddOtherClipboardData

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  
);

pDataSource

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

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.

Header: afxole.h

Show:
© 2016 Microsoft