COleServerItem::OnGetClipboardData
Called by the framework to get a COleDataSource object containing all the data that would be placed on the Clipboard by a call to the CopyToClipboard member function.
virtual COleDataSource* OnGetClipboardData(
BOOL bIncludeLink,
LPPOINT lpOffset,
LPSIZE lpSize
);
Параметры
bIncludeLink
Set this to TRUE if link data should be copied to the Clipboard. Set this to FALSE if your server application does not support links.lpOffset
The offset of the mouse cursor from the origin of the object in pixels.lpSize
The size of the object in pixels.
Возвращаемое значение
A pointer to a COleDataSource object containing the Clipboard data.
Заметки
The default implementation of this function calls GetClipboardData.
Требования
Header: afxole.h