Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ICONMETRICS structure

Contains the scalable metrics associated with icons. This structure is used with the SystemParametersInfo function when the SPI_GETICONMETRICS or SPI_SETICONMETRICS action is specified.

Syntax


typedef struct tagICONMETRICS {
  UINT    cbSize;
  int     iHorzSpacing;
  int     iVertSpacing;
  int     iTitleWrap;
  LOGFONT lfFont;
} ICONMETRICS, *PICONMETRICS, *LPICONMETRICS;

Members

cbSize

Type: UINT

The size of the structure, in bytes.

iHorzSpacing

Type: int

The horizontal space, in pixels, for each arranged icon.

iVertSpacing

Type: int

The vertical space, in pixels, for each arranged icon.

iTitleWrap

Type: int

If this member is nonzero, icon titles wrap to a new line. If this member is zero, titles do not wrap.

lfFont

Type: LOGFONT

The font to use for icon titles.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

Unicode and ANSI names

ICONMETRICSW (Unicode) and ICONMETRICSA (ANSI)

See also

Conceptual
Icons
Other Resources
SystemParametersInfo

 

 

Show:
© 2017 Microsoft