CComboBox::GetLBTextLen

Syntax

int GetLBTextLen( int nIndex ) const;

Parameters

nIndex

Contains the zero-based index of the list-box string.

Remarks

Gets the length of a string in the list box of a combo box.

Return Value

The length of the string in bytes, excluding the terminating null character. If nIndex does not specify a valid index, the return value is CB_ERR.

See Also

CComboBox::GetLBText, CB_GETLBTEXTLEN