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


COleClientItem::CopyToClipboard

Call this function to copy the OLE item to the Clipboard.

void CopyToClipboard(
   BOOL bIncludeLink = FALSE 
);

Параметры

  • bIncludeLink
    TRUE if link information should be copied to the Clipboard, allowing a linked item to be pasted; otherwise FALSE.

Заметки

Typically, you call this function when writing message handlers for the Copy or Cut commands from the Edit menu. You must implement item selection in your container application if you want to implement the Copy or Cut commands.

For more information, see OleSetClipboard in the Windows SDK.

Требования

Header: afxole.h

См. также

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

COleClientItem Class

COleClientItem Members

Hierarchy Chart