Skip to content

Latest commit

 

History

History
75 lines (43 loc) · 1.36 KB

lb-getcount.md

File metadata and controls

75 lines (43 loc) · 1.36 KB
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
LB_GETCOUNT message Windows Controls
apiref
LB_GETCOUNT
Winuser.h
HeaderDef
reference
05/31/2018

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