LVM_GETSELECTEDCOUNT

This message determines the number of selected items in a list view control. You can send this message explicitly or by using the ListView_GetSelectedCount macro.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: ListView_GetSelectedCount

Syntax

LVM_GETSELECTEDCOUNT wParam = 0; lParam = 0;

Return Values

Returns the number of selected items