MARGINS structure
Applies to: desktop apps only
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 XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 3/6/2012