Share via


ListView_GetItemCount

This macro retrieves the number of items in a list-view control. You can use this macro or send the LVM_GETITEMCOUNT message explicitly.

int ListView_GetItemCount( 
  HWND hwnd 
);

Parameters

  • hwnd
    Handle to the list-view control.

Return Values

Returns the number of items.

Remarks

Related message: LVM_GETITEMCOUNT

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

LVM_GETITEMCOUNT | List-View Controls Macros

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.