Поделиться через


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

См. также

Основные понятия

COleServerItem Class

COleServerItem Members

Hierarchy Chart

COleDataSource Class

COleServerItem::GetDataSource

COleServerItem::GetEmbedSourceData

COleServerItem::OnDraw