다음을 통해 공유


CDC::GetDCBrushColor

Retrieves the current brush color.

COLORREF GetDCBrushColor( ) const;

Return Value

If the function succeeds, the return value is the COLORREF value for the current brush color.

If the function fails, the return value is CLR_INVALID.

Remarks

This member function emulates the functionality of the function GetDCBrushColor, as described in the Windows SDK.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::SetDCBrushColor