Display style of Enabled/Disabled buttons on CMFCRibbonBar

  • Thread starter Thread starter Yan Yang
  • Start date Start date
Y

Yan Yang

Guest
I am creating a ribbon bar on our application developed with mfc toolbar/menu, so that the user can switch the interface between ribbon bar and toolbar/menu styles.

I created a few buttons on the ribbon bar, the disabled and enabled buttons only look a little different, text on enabled buttons looks like light grey blue, and text on disabled buttons looks light grey. The enabled buttons can be highlighted if I hover the mouse on them, but the disabled buttons have no change, which is expected.

However the disabled toolbar buttons in our application are totally greyed out, the enabled toolbar buttons are colourful.

Could you please let me know how to get the same display style for ribbon buttons as toolbar buttons which have greyed out and colourful buttons?

Thanks in advance.

Continue reading...
 
Back
Top