Hello!

How can I disable a category of CMFCRibbonBar? In other words, I want the text in the category tab to be grayed out and ignore any clicks on it to prevent its elements from being shown. In case the disabled category is the currently active one, all its ribbon elements should be disabled too.

I'm using the styles of CMFCVisualManagerOffice2007, and by looking at the implementation it seems "CMFCVisualManagerOffice2007::m_clrRibbonCategoryTextDisabled" should be selected as gray text color during drawing of the ribbonbar in this case. But I couldn't figure out how to make it happen.