ListBox_GetCount macro

Gets the number of items in a list box. You can use this macro or send the LB_GETCOUNT message explicitly.

Syntax


int ListBox_GetCount(
  HWND hwndCtl
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

Return value

The number of items.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windowsx.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft