MINIMIZEDMETRICS structure (winuser.h)

Contains the scalable metrics associated with minimized windows. This structure is used with the SystemParametersInfo function when the SPI_GETMINIMIZEDMETRICS or SPI_SETMINIMIZEDMETRICS action value is specified.

Syntax

typedef struct tagMINIMIZEDMETRICS {
  UINT cbSize;
  int  iWidth;
  int  iHorzGap;
  int  iVertGap;
  int  iArrange;
} MINIMIZEDMETRICS, *PMINIMIZEDMETRICS, *LPMINIMIZEDMETRICS;

Members

cbSize

The size of the structure, in bytes. The caller must set this to sizeof(MINIMIZEDMETRICS).

iWidth

The width of minimized windows, in pixels.

iHorzGap

The horizontal space between arranged minimized windows, in pixels.

iVertGap

The vertical space between arranged minimized windows, in pixels.

iArrange

The starting position and direction used when arranging minimized windows. The starting position must be one of the following values.

Value Meaning
ARW_BOTTOMLEFT
0x0000L
Start at the lower-left corner of the work area.
ARW_BOTTOMRIGHT
0x0001L
Start at the lower-right corner of the work area.
ARW_TOPLEFT
0x0002L
Start at the upper-left corner of the work area.
ARW_TOPRIGHT
0x0003L
Start at the upper-right corner of the work area.
 

The direction must be one of the following values.

Value Meaning
ARW_LEFT
0x0000L
Arrange left (valid with ARW_BOTTOMRIGHT and ARW_TOPRIGHT only).
ARW_RIGHT
0x0000L
Arrange right (valid with ARW_BOTTOMLEFT and ARW_TOPLEFT only).
ARW_UP
0x0004L
Arrange up (valid with ARW_BOTTOMLEFT and ARW_BOTTOMRIGHT only).
ARW_DOWN
0x0004L
Arrange down (valid with ARW_TOPLEFT and ARW_TOPRIGHT only).
ARW_HIDE
0x0008L
Hide minimized windows by moving them off the visible area of the screen.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header winuser.h (include Windows.h)

See also

SystemParametersInfo