LB_GETTEXTLEN

An application sends a LB_GETTEXTLEN message to get the length of a string in a list box.

Parameters

wParam

Specifies the zero-based index of the string.

lParam

This parameter is not used.

Return Value

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

See Also

LB_GETTEXT