Export (0) Print
Expand All

CRichEditView::DoPaste 

Call this function to paste the OLE item in dataobj into this rich edit document/view.


void DoPaste(
   COleDataObject& dataobj,
   CLIPFORMAT cf,
   HMETAFILEPICT hMetaPict 
);

Parameters

dataobj

The COleDataObject containing the data to paste.

cf

The desired Clipboard format.

hMetaPict

The metafile that represents the item to be pasted.

The framework calls this function as part of the default implementation of QueryAcceptData.

This function determines the type of paste based on the results of the handler for Paste Special. If cf is 0, the new item uses the current iconic representation. If cf is nonzero and hMetaPict is not NULL, the new item uses hMetaPict for its representation.

Community Additions

ADD
Show:
© 2014 Microsoft