CComboBox::GetLBTextLen

int GetLBTextLen( int nIndex ) const;

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.

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.

Example

See the example for CComboBox::GetLBText.

CComboBox OverviewClass MembersHierarchy Chart

See Also   CComboBox::GetLBText, CB_GETLBTEXTLEN