CRichEditCtrl::GetTextRange
Gets the specified range of characters.
int GetTextRange(
int nFirst,
int nLast,
CString& refString
) const;
Параметры
nFirst
The character position index immediately preceding the first character in the range.nLast
The character position immediately following the last character in the range.refString
A reference to a CString object that will receive the text.
Возвращаемое значение
The number of characters copied, not including the terminating null character.
Заметки
For more information, see EM_GETTEXTRANGE in the Windows SDK.
GetTextRange supports the Rich Edit 2.0 functionality. See About Rich Edit Controls in the Windows SDK* *for more information.
Требования
Header: afxcmn.h