ICONMETRICS

The 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.

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

Members

cbSize
Specifies the size of the structure, in bytes.
iHorzSpacing and iVertSpacing
Horizontal and vertical space, in pixels, for each arranged icon.
iTitleWrap
Title-wrapping flag. If this member is nonzero, icon titles wrap to a new line. If this member is zero, titles do not wrap.
lfFont
Specifies the font to use for icon titles.

QuickInfo

  Windows NT: Requires version 3.5 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.
  Unicode: Defined as Unicode and ANSI structures.

See Also

Icons Overview, Icon Structures, SystemParametersInfo