Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft