BOOL CBCGPEditCtrl::DeleteSelectedText | ( | BOOL | bRedraw = TRUE , |
BOOL | bCopyToClipboard = FALSE , |
||
BOOL | bForceNextUndo = FALSE |
||
) |
Deletes the selected text from the edit control.
This function is called by the edit control in some situations (for example, when there is a selected text and the user types a character, from Cut() and Clear() methods and so on).
bRedraw | Specifies whether the control should be redrawn after the text has been deleted. |
bCopyToClipboard | Specifies whether the deleted text should be copied to the Clipboard. |
bForceNextUndo | Specifies whether the undo action, created as a result of deletion, should be used as a complex undo action in sequence. |