Upravit

Sdílet prostřednictvím


LB_GETCOUNT message

Gets the number of items in a list box.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

The return value is the number of items in the list box, or LB_ERR if an error occurs.

Remarks

The returned count is one greater than the index value of the last item (the index is zero-based).

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

LB_SETCOUNT