CB_GETCOUNT message
Gets the number of items in the list box of a combo 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. If an error occurs, it is CB_ERR.
The index is zero-based, so the returned count is one greater than the index value of the last item.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|