LB_GETCOUNT

This message returns a count of the items in the list box.

Parameter Description  

wParam Is not used.  
lParam Is not used.  

Return Value

The return value is a count of the items in the list box. The return value is LB_ERR if an error occurs.