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

Inserts a character into edit control.

Returns
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.

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