CB_GETLBTEXTLEN

Version 3.0

This message returns the length of a string in the list box of a combo box.

Parameter

Description

 

wParam

Contains the index of the string.

 

lParam

Is not used.

 

Return Value

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