ListView_GetItemCount  1V3J.AZ 

The ListView_GetItemCount macro retrieves the number of items in a list view control. You can use this macro or explicitly send the LVM_GETITEMCOUNTGXC.HQ message.

int ListView_GetItemCount(

    HWND hwnd

 

   );

 

 

Parameters

hwnd

Handle to the list view control.

 

Return Values

Returns the number of items.

See Also

LVM_GETITEMCOUNT