Draw.RoundRect



RoundRect(y2 As Long,x1 As Long,hdc As OLE_HANDLE,y3 As Long,x2 As Long,x3 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 round rectangle.
x1 As Long
Specifies the x-coordinate, in logical units, of the upper-left corner of the round 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.
y3 As Long
Specifies the y-distance, in logical units, for the rounding.
x2 As Long
Specifies the x-coordinate, in logical units, of the lower-right corner of the round rectangle.
x3 As Long
Specifies the x-distance, in logical units, for the rounding.
y1 As Long
Specifies the y-coordinate, in logical units, of the upper-left corner of the round rectangle.
ED
not used
RT
avaliable

Remarks

The RoundRect function draws a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.

See Also

Draw