Export (0) Print
Expand All

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

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft