Draw.FillSolidRect



FillSolidRect(hdc As OLE_HANDLE,cx As Long,cy As Long,clr As OLE_COLOR,x As Long,y As Long)

Parameters

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.
clr As OLE_COLOR
Color value 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 fills the specified rectangle with the specified solid color.

See Also

Draw