BORDERWIDTHS structure
Defines the coordinates of the upper-left and lower-right corners of a border rectangle.
typedef struct _BORDERWIDTHS {
LONG left;
LONG top;
LONG right;
LONG bottom;
} BORDERWIDTHS, *LPBORDERWIDTHS;
left
Type: LONGSpecifies the x-coordinate of the upper-left corner of the rectangle.
top
Type: LONGSpecifies the y-coordinate of the upper-left corner of the rectangle.
right
Type: LONGSpecifies the x-coordinate of the lower-right corner of the rectangle.
bottom
Type: LONGSpecifies the y-coordinate of the lower-right corner of the rectangle.
This structure is not defined implicitly. It is simply an alias for a RECT structure. It is also identical to the RECTL structure.
typedef RECT BORDERWIDTHS;
typedef LPRECT LPBORDERWIDTHS;
typedef LPCRECT LPCBORDERWIDTHS;
By convention, the right and bottom edges of the rectangle are normally considered exclusive. In other words, the pixel whose coordinates are (right, bottom) lies immediately outside of the rectangle. A rectangle defined by BORDERWIDTHS is filled up to, but not including, the right column and bottom row of pixels.
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
Oleidl.h |
IDL |
Oleidl.idl |