LB_GETTEXTLEN

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

Parameter Description  

wParam Contains an index to the string.  
lParam Is not used.  

Return Value

The return value is the length of the string (in bytes), excluding the terminating null
character. The return value is LB_ERR if an error occurs.