BCGControlBar Pro for MFC
virtual BOOL CBCGPEditCtrl::InsertChar ( TCHAR  nChar,
BOOL  bRedraw = FALSE 

Inserts a character into edit control.

Nonzero if the function succeeds; otherwise 0.

This function inserts a character in the edit control and places it in the undo buffer. The text is scrolled if necessary.

nCharSpecifies the character to insert.
bRedrawIf TRUE the edit control will be redrawn.