ListView_GetItemSpacing

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

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.

Remarks

Related message:LVM_GETITEMSPACING

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

LVM_GETITEMSPACING | List-View Controls Macros

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.