Partager via


ListView_GetItemSpacing

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

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 Value

Returns the amount of spacing between items.

Remarks

Related message: LVM_GETITEMSPACING

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

LVM_GETITEMSPACING
List-View Controls Macros