MARGINS structure (uxtheme.h)
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | uxtheme.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for