Print Page | Close Window

12.0.1 tooltip bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=15489
Printed Date: 22 June 2024 at 10:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: 12.0.1 tooltip bug
Posted By: znakeeye
Subject: 12.0.1 tooltip bug
Date 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/



Replies:
Posted By: Oleg
Date Posted: 02 November 2009 at 8:49am
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


Posted By: znakeeye
Date Posted: 02 November 2009 at 1:44pm

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/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net