BCGSoft Professional Editor for MFC
int CBCGPEditCtrl::m_nTabSize

Defines the tab size.

When the user presses the TAB key the text is shifted according to the indentation size (m_nIndentSize). In the "keep tabs" mode if the indentation size is not equal to the tab size a combination of '\t' symbols and spaces is inserted to build up the right indentation string.