Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Pastes data in a specific Clipboard format into this CRichEditCtrl object.

void PasteSpecial( 
   UINT nClipFormat, 
   DWORD dvAspect = 0, 
   HMETAFILE hMF = 0  

Clipboard format to paste into this CRichEditCtrl object.


Device aspect for the data to be retrieved from the Clipboard.


Handle to the metafile containing the iconic view of the object to be pasted.

The new material is inserted at the insertion point, the location of the caret.

For more information, see EM_PASTESPECIAL in the Windows SDK.

// Paste the data from the clipboard as text. 

Header: afxcmn.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.