CListBox::GetTextLen
Gets the length of a string in a list-box item.
int GetTextLen(
int nIndex
) const;
Параметры
- nIndex
Specifies the zero-based index of the string.
Возвращаемое значение
The length of the string in characters, excluding the terminating null character. If nIndex does not specify a valid index, the return value is LB_ERR.
Пример
See the example for CListBox::GetText.
Требования
Header: afxwin.h