Share via


CEdit::Paste

voidPaste();

Remarks

Call this function to insert the data from the Clipboard into the CEdit at the insertion point. Data is inserted only if the Clipboard contains data in CF_TEXT format.

For more information, see in the Win32 documentation.

Example

// The pointer to my edit.
extern CEdit* pmyEdit;

// Replace all of the text with the text in the clipboard.
pmyEdit->SetSel(0, -1);
pmyEdit->Paste();

CEdit OverviewClass MembersHierarchy Chart

See Also   CEdit::Clear, CEdit::Copy, CEdit::Cut