Export (0) Print
Expand All
MFC
Expand Minimize

CListCtrl::GetItemSpacing

Calculates the spacing between items in the current list-view control.

BOOL GetItemSpacing(
     BOOL fSmall, 
     int* pnHorzSpacing, 
     int* pnVertSpacing
) const;

Parameter

Description

[in] fSmall

View for which to retrieve the item spacing. Specify true for small icon view, or false for icon view.

[out] pnHorzSpacing

Contains the horizontal spacing between items.

[out] pnVertSpacing

Contains the vertical spacing between items.

true if this method is successful; otherwise, false.

This method sends the LVM_GETITEMSPACING message, which is described in the Windows SDK.

Header: afxcmn.h

This method is supported in Windows NT 3.51 and later.

Community Additions

ADD
Show:
© 2014 Microsoft