다음을 통해 공유


CDC::SetDCBrushColor

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

COLORREF SetDCBrushColor(
   COLORREF crColor
);

Parameters

  • 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 Windows SDK.

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::GetDCBrushColor