CEdit::Cut

Syntax

void Cut();

Remarks

Deletes (cuts) the current selection (if any) in the edit control and copies the deleted text to the Clipboard in CF_TEXT format.

The deletion performed by Cut can be undone by calling the Undo member function.

To delete the current selection without placing the deleted text into the Clipboard, call the Clear member function.

See Also

CEdit::Undo, CEdit::Clear, CEdit::Copy, CEdit::Paste, WM_CUT