The RECT structure defines the coordinates of the upper-left and lower-right corners of a rectangle.
typedef struct tagRECT {
int left;
int top;
int right;
int bottom;
} RECT;
The RECT structure has the following fields:
Field | Description | |
left | Specifies the x-coordinate of the upper-left corner of a rectangle. | |
top | Specifies the y-coordinate of the upper-left corner of a rectangle. | |
right | Specifies the x-coordinate of the lower-right corner of a rectangle. | |
bottom | Specifies the y-coordinate of the lower-right corner of a rectangle. |
The width of the rectangle defined by the RECT structure must not exceed 32,768 units.