title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LB_GETCOUNT message (Winuser.h) |
Gets the number of items in a list box. |
1fbe44fc-8b9d-4bfa-a8bb-06817eecf064 |
|
|
|
|
|
reference |
05/31/2018 |
Gets the number of items in a list box.
-
wParam
-
Not used; must be zero.
-
lParam
-
Not used; must be zero.
The return value is the number of items in the list box, or LB_ERR if an error occurs.
The returned count is one greater than the index value of the last item (the index is zero-based).
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|