Disabled icons are not greyed out in the popup menu of the customize button on CMFCToolBar

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

Yan Yang

Guest
The customize button on the toolbar is enabled by calling CMFCToolBar::EnableCustomizeButton, so when toolbar buttons do not fit in the toolbar area, a button with a double left-pointing arrow, or chevron displays, which indicates that there are more buttons, a popup menu shows hidden buttons when clicking the double arrow button (customize button).

The problem is the disabled menu items in the popup menu when clicking the double arrow button have greyed out text but the icons are not greyed out.

Could you please let know how to grey out the icons in the popup menu of the customize button?

Thanks in advance.

Continue reading...
 
Back
Top