BCGControlBar Pro for MFC
BCGPRibbonCategoryColor CBCGPRibbonContextCaption::GetColor ( ) const
inline

Returns the color of caption.

The returned value can be one of the following enumerated values:

  • BCGPCategoryColor_None
  • BCGPCategoryColor_Red
  • BCGPCategoryColor_Orange
  • BCGPCategoryColor_Yellow
  • BCGPCategoryColor_Green
  • BCGPCategoryColor_Blue
  • BCGPCategoryColor_Indigo
  • BCGPCategoryColor_Violet

The color can be set using CBCGPRibbonCategory::SetTabColor or CBCGPRibbonBar::AddContextCategory.