This topic has not yet been rated - Rate this topic

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

Uxtheme.h

See also

GetThemeMargins

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ