CRichEditCtrl::GetTextLength
Retrieves the length of the text, in characters, in this CRichEditCtrl object, not including the terminating null character.
long GetTextLength( ) const;
Возвращаемое значение
The length of the text in this CRichEditCtrl object.
Заметки
For more information, see WM_GETTEXTLENGTH in the Windows SDK.
Пример
// Limit the rich edit controls text to the number of
// characters currently in it.
m_myRichEditCtrl.LimitText(m_myRichEditCtrl.GetTextLength());
Требования
Header: afxcmn.h