RECT Structure

Type Rect
  left As Long
  top As Long
  right As Long
  bottom As Long
End Type

Description & Usage

The RECT structure holds a rectangle. This structure defines a rectangle by storing the coordinates of its upper-left and lower-right corners. Generally, points lying along the bottom or right edges of the rectange are not considered to be inside the rectangle; however, points along the top or left edges are.

Visual Basic-Specific Issues

None.

Data Members

left
The x-coordinate of the upper-left corner of the rectangle.
top
The y-coordinate of the upper-left corner of the rectangle.
right
The x-coordinate of the lower-right corner of the rectangle.
bottom
The y-coordinate of the lower-right corner of the rectangle.

Used By

ClipCursor, CopyRect, CreateEllipticRgnIndirect, CreateRectRgnIndirect, EqualRect, FillRect, FrameRect, GetClipCursor, GetRgnBox, GetWindowRect, InflateRect, IntersectRect, InvertRect, IsRectEmpty, OffsetRect, PtInRect, RectInRegion, SetRect, SetRectEmpty, SubtractRect, SystemParametersInfo, UnionRect

Back to the index.


Last Modified: September 3, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information

Go to Paul Kuliniewicz's Home Page.
E-mail: rogue953@hotmail.com
This page is at http://skyscraper.fortunecity.com/transmission/45/api/r/rect.html