Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - 13.3.1 bug : Ellipsis displayed in tooltip!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

13.3.1 bug : Ellipsis displayed in tooltip!

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: 13.3.1 bug : Ellipsis displayed in tooltip!
    Posted: 07 May 2010 at 3:52pm
Ellipsis should be avoided according to Microsoft recommendations. Menu items are the only exception:
 
Word 2007 does it right. The header of the tooltip has no ellipsis.
 
XTP 13.3.1 does not take care of this! It's rather ugly to have three dots in the tooltip...
 
Modify RibbonSample:
pCommandBars->GetCommandBarsOptions()->bShowPopupBarToolTips = TRUE;
ID_EDIT_PASTE_SPECIAL "Insert Clipboard contents with options\nPaste &Special..."
 
Then you get this:
 
Ugly
PokerMemento - http://www.pokermemento.com/
Back to Top
CyberSky View Drop Down
Groupie
Groupie


Joined: 15 February 2010
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote CyberSky Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2010 at 10:50pm
znakeeye, just so you know, the three dots are called an ellipsis (...), not a hyphen (-).
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2010 at 10:15am
Ah, thanks :). It felt weird when I wrote it :P
PokerMemento - http://www.pokermemento.com/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2010 at 7:22am
Hi,

You can set different Caption and Tooltip with such string:

Insert Clipboard contents with options\nPaste Special\nPaste &Special....
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2010 at 9:34am
But just in case you don't add string as Oleg suggest we made it so that it will remove the trailing ellipses before displaying the tip.
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2010 at 12:07pm
Ok, thanks!
PokerMemento - http://www.pokermemento.com/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.