Freigeben über


COleClientItem::CopyToClipboard

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

void CopyToClipboard(
   BOOL bIncludeLink = FALSE 
);

Parameters

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

Remarks

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.

Requirements

Header: afxole.h

See Also

Concepts

COleClientItem Class

COleClientItem Members

Hierarchy Chart