Share via


CMFCRibbonColorButton::GetAutomaticColor

Retrieves the current automatic-button color.

COLORREF GetAutomaticColor() const;

Return Value

An RGB color value that represents the current automatic-button color.

Remarks

The automatic-button color is set by the colorAutomatic parameter passed to the CMFCRibbonColorButton::EnableAutomaticButton method.

Requirements

Header: afxribboncolorbutton.h

See Also

Reference

CMFCRibbonColorButton Class

Hierarchy Chart