BCGSoft Professional Editor for MFC
virtual BOOL CBCGPEditCtrl::InsertTab ( BOOL  bRedraw = FALSE)

Inserts the tabulation into the edit control.

Nonzero if the function succeeds; otherwise 0.

If m_bKeepTabs is FALSE the function inserts the number of spaces according to the m_nIndentSize value, otherwise it inserts '\t' symbols and additonal spaces if m_nIndentSize is not equal to m_nTabSize.

bRedrawSpecifies whether the edit control should be redrawn (TRUE) or not (FALSE).