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

void AddOtherClipboardData( 
   COleDataSource* 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

© 2016 Microsoft