Partager via


ListView_GetSelectedCount (Compact 2013)

3/28/2014

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

Syntax

UINT ListView_GetSelectedCount( 
  HWND hwnd 
);

Parameters

  • hwnd
    Handle to the list-view control.

Return Value

Returns the number of selected items.

Remarks

Related message LVM_GETSELECTEDCOUNT

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Macros
LVM_GETSELECTEDCOUNT