ITEMSPACING structure (shlobj_core.h)

Stores the dimensions of the two possible sizes of icon spacing that are available for display: small and large. Used by IShellFolderView::GetItemSpacing.

Syntax

typedef struct _ITEMSPACING {
  int cxSmall;
  int cySmall;
  int cxLarge;
  int cyLarge;
} ITEMSPACING;

Members

cxSmall

Type: int

The width of the spacing between icons in small icon mode, in pixels.

cySmall

Type: int

The height of the spacing between icons in small icon mode, in pixels.

cxLarge

Type: int

The width of the spacing between icons in large icon mode, in pixels.

cyLarge

Type: int

The height of the spacing between icons in large icon mode, in pixels.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header shlobj_core.h (include Shlobj.h)