Rectangle(y2 As Long,x1 As Long,hdc As OLE_HANDLE,x2 As Long,y1 As Long) As Boolean
Parameters
y2 As Long
Specifies the y-coordinate, in logical units, of the
lower-right corner of the rectangle.
x1 As Long
Specifies the x-coordinate, in logical units, of the upper-left
corner of the rectangle.
hdc As OLE_HANDLE
The hDC property is a handle (a number) that the Windows
operating system uses for internal reference to an object. You can
paint in theinternal area of any control that has an hDC
property.
x2 As Long
Specifies the x-coordinate, in logical units, of the
lower-right corner of the rectangle.
y1 As Long
Specifies the y-coordinate, in logical units, of the upper-left
corner of the rectangle.
ED
not used
RT
avaliable
Remarks
The Rectangle function draws a rectangle. The rectangle is
outlined by using the current pen and filled by using the current
brush.