The LVM_GETITEMSPACING message determines the spacing between items in a list view control. You can send this message explicitly or by using the ListView_GetItemSpacing macro.
LVM_GETITEMSPACING
wParam = (WPARAM) (BOOL) fSmall;
lParam = 0;
Parameters
fSmall
View to retrieve the item spacing for. This parameter is TRUE for small icon view, or FALSE for icon view.
Return Values
Returns the amount of spacing between items.
See Also