Dela via


CMFCRibbonCategory::SetTabColor

Sets the color of the ribbon category.

void SetTabColor(
   AFX_RibbonCategoryColor color 
);

Parameters

  • [in] color
    Specifies the new color of the ribbon category.

Remarks

Color can be one of the following 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

Requirements

Header: afxribboncategory.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonCategory Class