CGXBrush::SetColor

CGXBrush& SetColor(COLORREF color);

color

Specifies the fill color.

Return Value

Returns a reference to the object.

Remarks

Initializes the pattern color. System colors can be specified with the GXSYSCOLOR macro as for example

   SetColor(GXSYSCOLOR(SYSCOLOR_BTNFACE));

See Also

 CGXBrush::GetColor

CGXBrush

 Class Overview |  Class Members