This macro determines the spacing between items in a list view control. You can use this macro or send the LVM_GETITEMSPACING message explicitly.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 1.0 and later |
Related message: | LVM_GETITEMSPACING |
Syntax
DWORD ListView_GetItemSpacing( HWND hwnd, BOOL fSmall );
Parameters
hwnd
Handle to the list view control.
fSmall
Boolean value that specifies the view for which to retrieve the item spacing. Set to TRUE for small icon view, or to FALSE for icon view.
Return Values
Returns the amount of spacing between items.