ListView_GetItemSpacing

The ListView_GetItemSpacing macro determines the spacing between items in a list view control. You can use this macro or explicitly send the LVM_GETITEMSPACING message.

DWORD ListView_GetItemSpacing(

HWND hwnd,  
BOOL fSmall  
);  

Parameters

hwnd

Handle to the list view control.

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

LVM_GETITEMSPACING