Share via


CMFCRibbonColorButton::GetAutomaticColor

Retrieves the current default color.

COLORREF GetAutomaticColor() const;

Return Value

An RGB value that represents the current default color.

Remarks

The current default color is set by the CMFCRibbonColorButton::EnableAutomaticButton method.

Requirements

Header: afxribboncolorbutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonColorButton Class