CMFCRibbonContextCaption::GetColor
Returns the background color of the caption.
AFX_RibbonCategoryColor GetColor() const;
Return Value
The returned value can be one of the following enumerated values:
AFX_CategoryColor_None
AFX_CategoryColor_Red
AFX_CategoryColor_Orange
AFX_CategoryColor_Yellow
AFX_CategoryColor_Green
AFX_CategoryColor_Blue
AFX_CategoryColor_Indigo
AFX_CategoryColor_Violet
Remarks
The color of the caption can be set by calling CMFCRibbonCategory::SetTabColor or CMFCRibbonBar::AddContextCategory.
Requirements
Header: afxRibbonBar.h