DirectX SDK

DirectDrawSurface7.SetFillColor

The DirectDrawSurface7.SetFillColor specifies the fill color used in drawing methods.

object.SetFillColor(color As Long)

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.
color
RGB value to be used as the fill color in drawing methods. The default value is black (&H00000000).

Error Codes

If the method fails, it raises an error, and Err.Number is set.

See Also

DirectDrawSurface7.GetFillColor