Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems


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, TPMPARAMS, UnionRect

Go back to the Structure listing. Go back to the Reference section index.


Last Modified: June 4, 2000 This page is copyright © 2000 Paul Kuliniewicz. Copyright Information Revised October 29, 2000 Go back to the Windows API Guide home page. E-mail: vbapi@vbapi.com Send Encrypted E-Mail This page is at http://www.vbapi.com/ref/r/rect.html

Категории