Ticket #14820 (closed enhancement: fixed)

Opened 6 months ago

Last modified 6 months ago

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: 2.9-svn
Keywords: Cc:
Blocked By: Patch: yes
Blocking:

Description

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

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

Change History

Changed 6 months ago by wxBen

ToolTipForDisabled.diff

Changed 6 months ago by VZ

  • status changed from new to closed
  • resolution set to fixed

(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.