ListView_SetItemCountEx macro (commctrl.h)
void ListView_SetItemCountEx( hwndLV, cItems, dwFlags );
A handle to a virtual list-view control.
The number of items that the list-view control will contain.
Values that specify the behavior of the list-view control after resetting the item count. This value can be a combination of the following:
||The list-view control will not repaint unless affected items are currently in view.|
||The list-view control will not change the scroll position when the item count changes.|
If the list-view control was created with the LVS_OWNERDATA style, this macro sets the virtual number of items that the control contains.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|