12.0.1 tooltip bug |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 29 October 2009 at 4:48am |
Using XTP 12.0.1.
pToolTipContext->ShowTitleAndDescription();
IDS_BUTTON_MAGNIFY "Magnifying glass\nMagnifying glass"
m_pToolBar->GetControls()->FindControl(ID_MAGNIFY_GLAS)->SetCaption(IDS_BUTTON_MAGNIFY);
The result:
However, if I add a dot to the text, the result is correct!
"Magnifying glass\nMagnifying glass."
The result:
Has this been fixed? |
|
PokerMemento - http://www.pokermemento.com/
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Do you think second one is more informative for users ? ;)
Its special case of CXTPToolTipContext::FilterToolTipMessageHelper:
if (m_bShowTitleAndDescription && tc.lpszDescription && tc.lpszTitle && (_tcscmp(tc.lpszDescription, tc.lpszTitle) == 0)){ free(tc.lpszDescription); tc.lpszDescription = 0;} |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
This is not my code ;) Your code makes sense, but it gave me a lot of translation to do :P |
|
PokerMemento - http://www.pokermemento.com/
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |