Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets the length of a string in a list-box item.
int GetTextLen(
int nIndex
) const;
Parameters
- nIndex
Specifies the zero-based index of the string.
Return Value
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.
Example
See the example for CListBox::GetText.
Requirements
Header: afxwin.h