DirectX SDK

RECT

The RECT type defines the coordinates of the upper-left and lower-right corners of a rectangle.

Type RECT
    Bottom As Long
    Left As Long
    Right As Long
    Top As Long
End Type

Members

Bottom
Y-coordinate of the lower-right corner of the rectangle.
Left
X-coordinate of the upper-left corner of the rectangle.
Right
X-coordinate of the lower-right corner of the rectangle.
Top
Y-coordinate of the upper-left corner of the rectangle.