Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.