ListView_GetSelectedCount

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

UINT ListView_GetSelectedCount(

HWND hwnd  
);  

Parameters

hwnd

Handle to the list view control.

Return Values

Returns the number of selected items.

See Also

LVM_GETSELECTEDCOUNT