Export (0) Print
Expand All
Expand Minimize


Retrieves the current brush color.

COLORREF GetDCBrushColor( ) const;

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.

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

Header: afxwin.h

© 2015 Microsoft