BCGSoft Professional Editor for MFC
virtual BOOL CBCGPEditCtrl::OnDelete ( BOOL  bRedraw = FALSE,
BOOL  bForceNextUndo = FALSE 

Deletes a symbol at the current position or selected text.

Nonzero if the function succeeds; otherwise 0.

OnDelete is called by the edit control when the user strikes VK_DELETE or VK_BACK keys and deletes a symbol at the current position.

If there is a selection, it deletes selected text instead.

bRedrawIf TRUE, the edit control should be redrawn.
bForceNextUndoIf TRUE, the caused undo action is treated as a sequence of undo actions (for example, text replace).