Draw.SetBkColor



SetBkColor(hdc As OLE_HANDLE,crColor As OLE_COLOR) As OLE_COLOR

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.
crColor As OLE_COLOR
Color value of the background as RGB(red,green,blue), each value ranging from 0 to 255.
ED
not used
RT
avaliable

Remarks

The SetBkColor function sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value.

See Also

Draw