Opened 6 years ago

Closed 6 years ago

#14820 closed enhancement (fixed)

Ribbon button bar can now optionally show tooltips for disabled items as well

Reported by: wxBen Owned by:
Priority: normal Milestone:
Component: GUI-all Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes


By default the ribbon bar does not show tooltips for disabled buttons. However, many applications like Excel show tooltips for disabled items, because the user may want to know what the item is supposed to do, and sometimes the user may want to use a button and want to know why it is disabled and they cannot use it.

The code change adds a boolean flag to optionally turn on tooltips for disabled buttons.

The ribbonbar demo does not demonstrate this, because it is a fairly small nitpicky minor detailed non mainstream feature.

Attachments (1)

ToolTipForDisabled.diff download (3.7 KB) - added by wxBen 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by wxBen


comment:1 Changed 6 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [72950]) Optionally allow showing tooltips for disabled ribbon buttons.

Add wxRibbonButtonBar::SetShowToolTipsForDisabled() to allow enabling the
tooltips even for the disabled buttons.

Closes #14820.

Note: See TracTickets for help on using tickets.