BCGSuite for MFC
virtual BOOL CBCGPEditCtrl::ProcessTextBeforeInsert ( CString &  strText)
virtual

Called by the framework just before the text is inserted into the edit control.

Returns
Nonzero if the function succeeds; otherwise 0.

It removes '\r' symbols, if m_bKeepTabs is FALSE it replaces all '\t' symbols with spaces and wraps strings that are longer than m_nMaxScrollWidth.

Parameters
strTextContains the text being inserted.