_MARGINS structure

Returned by the GetThemeMargins function to define the margins of windows that have visual styles applied.

Syntax

typedef struct _MARGINS {
  int cxLeftWidth;
  int cxRightWidth;
  int cyTopHeight;
  int cyBottomHeight;
} MARGINS, *PMARGINS;

Members

cxLeftWidth

Type: int

Width of the left border that retains its size.

cxRightWidth

Type: int

Width of the right border that retains its size.

cyTopHeight

Type: int

Height of the top border that retains its size.

cyBottomHeight

Type: int

Height of the bottom border that retains its size.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header uxtheme.h

See Also

GetThemeMargins