COleDataSource::FlushClipboard

Removes data from the Clipboard that was placed there by a previous call to SetClipboard.

static void PASCAL FlushClipboard( );

Remarks

This function also causes any data still on the Clipboard to be immediately rendered. Call this function when it is necessary to delete the data object last placed on the Clipboard from memory. Calling this function ensures that OLE will not require the original data source to perform Clipboard rendering.

Requirements

Header: afxole.h

See Also

Concepts

COleDataSource Class

COleDataSource Members

Hierarchy Chart

COleDataSource::GetClipboardOwner

COleDataSource::SetClipboard