DrawFillColor property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax OLE_COLOR DrawFillColor

Overview:  Refer to Drawing Simple Objects.

Remarks

(Persistent property, available at design time) Specifies the interior color of a drawing object.

You can specify a COLORREF value (the return value of the RGB function), or you can specify a palette index as explained in Using Palette Indexes As Color Values.

See Also

Topics:  Working with the Control: Client Area Usage
Raster Images: Drawing on a Bitmap