CRichEditCtrl::Cut

void Cut( );

Remarks

Call this function to delete (cut) the current selection (if any) in the rich edit control and copy the deleted text to the Clipboard.

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.

For more information, see WM_CUT in the Win32 documentation.

CRichEditCtrl OverviewClass MembersHierarchy Chart

See Also   CRichEditCtrl::Copy, CRichEditCtrl::Undo, CRichEditCtrl::Clear