Export (0) Print
Expand All

CComboBox::GetLBTextLen 

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


int GetLBTextLen(
   int nIndex 
) const;

Parameters

nIndex

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

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 the example for CComboBox::GetLBText.

Community Additions

ADD
Show:
© 2015 Microsoft