|
-
February 13th, 2012, 08:15 AM
#1
Disable Ribbon Category?
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|