CDC::GetDCBrushColor

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

См. также

Основные понятия

CDC Class

CDC Members

Hierarchy Chart

CDC::SetDCBrushColor