Partager via


ListView_GetItemCount (Compact 2013)

3/28/2014

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

Syntax

int ListView_GetItemCount( 
  HWND hwnd 
);

Parameters

  • hwnd
    Handle to the list-view control.

Return Value

Returns the number of items.

Remarks

Related message LVM_GETITEMCOUNT

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Macros
LVM_GETITEMCOUNT