This documentation is archived and is not being maintained.

CDC::SetDCBrushColor

Sets the current device context (DC) brush color to the specified color value.

COLORREF SetDCBrushColor(
   COLORREF crColor
);

Parameter

crColor
Specifies the new brush color.

Return Value

Nonzero if the function is successful; otherwise 0.

Remarks

This member function emulates the functionality of the function SetDCBrushColor, as described in the Platform SDK.

See Also

CDC Overview | Class Members | Hierarchy Chart | CDC::GetDCBrushColor

Show: