Eliminating CommandBarButton Tool Tips

J

Jim

Hello,

My Outlook Add-In dynamically modifies .Caption and .ToolTipText for
some CommandBarButton controls depending on changing application
state. Works great.

Now I have a requirement to disable the Tool Tips per an application
Registry setting so an experienced user will no longer confront the
Tool Tips.

I have added simple code to set .ToolTipText = "" to handle this, but
to my surprise the CommandBarButton controls still present Tool Tips
-- not the original application custom Tool Tips, but unexpected Tool
Tips that match the button .Caption values.

From VB6 online help:

TooltipText Property

Returns or sets the text displayed in a command bar control's
ScreenTip. Read/write String. By default, the value of the
Caption property is used as the ScreenTip.

So I guess this is the expected behavior after all.

I am going to ask that my requirement be changed from 'disable Tool
Tips' to 'reduce Tool Tips', but before I do, can anyone recommend a
technique to completely eliminate the Tool Tips instead of just
reducing them?

Thanks.

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top