Draw.Draw3dRect



Draw3dRect(clrTopLeft As OLE_COLOR,hdc As OLE_HANDLE,cx As Long,cy As Long,clrBottomRight As OLE_COLOR,x As Long,y As Long)

Parameters

clrTopLeft As OLE_COLOR
Color value of the top and left boarder of the rectangle as RGB(red,green,blue), each value ranging from 0 to 255.
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.
cx As Long
Specifies the width, in logical units, of the of the rectangle.
cy As Long
Specifies the heigth, in logical units, of the of the rectangle.
clrBottomRight As OLE_COLOR
Color value of the bottom and right boarder of the rectangle as RGB(red,green,blue), each value ranging from 0 to 255.
x As Long
Specifies the x-coordinate, in logical units, of the upper-left corner of the rectangle.
y As Long
Specifies the y-coordinate, in logical units, of the upper-left corner of the rectangle.
ED
not used
RT
avaliable

Remarks

This method draws a three-dimensional rectangle with the top and left sides in the color specified by clrTopLeft and the bottom and right sides in the color specified by clrBottomRight.

See Also

Draw