BCGSoft Professional Editor for MFC
virtual BOOL CBCGPEditCtrl::Clear ( )
virtual

Clears (deletes) the selected text without copying it to the Clipboard.

Returns
Nonzero if the function succeeds, otherwise 0.

Call this function to delete the selected text without copying to the Clipboard. If you want to clear the selected text and copy it to the Clipboard, call Cut().