This message retrieves the number of items in a list view control. You can send this message explicitly or by using the ListView_GetItemCount macro.
At a Glance
| Header file: | Commctrl.h |
| Windows CE versions: | 1.0 and later |
| Related macro: | ListView_GetItemCount |
Syntax
LVM_GETITEMCOUNT wParam = 0; lParam = 0;
Return Values
The number of items indicates success.