getSuperTip and getScreenTip callbacks are useless in case of Ribbon labels

I have been asked that some callbacks don't work for the labelContol, from the predefined set of Fluent UI controls.

The Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3) article from the MSDN library provides the following attributes for the labelControl:

  • enabled
  • getEnabled
  • getLabel
  • getScreentip
  • getShowLabel
  • getSupertip
  • getVisible
  • id
  • idMso
  • idQ
  • insertAfterMso
  • insertAfterQ
  • insertBeforeMso
  • insertBeforeQ
  • label
  • screentip
  • showLabel
  • supertip
  • tag
  • visible
As you may see the getSuperTip and  getScreenTip are included in the list. But they don't play any role in case of labelControl. You will never see a screen tip or super tip even for built-in labels, for example:


The "Gridlines" and "Headings"don't show tips at all. That's a good indicator that labels don't display screen or super tips.

As a workaround you may use a button control where you can set the enabled attribute set to false to get it displayed like a label control. But screen and super tips will be shown anyway.



Popular

A bad sample from the VSTO team (Microsoft)

What does 'Embargo' mean for IT professionals? - Part I

Microsoft Word: How to get a selected word when you do a right click