Print Page | Close Window

Tooltip context for report control?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8476
Printed Date: 16 May 2024 at 2:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tooltip context for report control?
Posted By: znakeeye
Subject: Tooltip context for report control?
Date Posted: 19 October 2007 at 3:50pm
I managed to modify the tooltip context for my report control, but not its records. It seems items still have that ugly standard tooltip style.
 
How do I fix this?



Replies:
Posted By: Oleg
Date Posted: 20 October 2007 at 2:08am
Hi,
 
it already supports tooltipcontext:
 
m_wndReport.GetToolTipContext().


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 20 October 2007 at 8:01am
Yes, but only for the headers etc. If I put CXTPReportRecordItem in my records, their tooltip is not skinned.
 
I use the ribbon theme and 2007-style for the tooltip of the report control. If the text of my items is "compressed" I see this ugly win95-tooltip when I hover the item.
 
For instance; my item has the text "This is a long story about a report item which shows an ugly tooltip." and since the column is 100 pixels wide I only see "This is a long story...". Now, if I hover this text I see that ugly Win95-tooltip with the complete string.
 
Most certainly a bug since I did indeed change the tooltip context.
 
Any ideas?


Posted By: Oleg
Date Posted: 22 October 2007 at 2:23am
Hi,
 
Call pItem->SetToolTip(..) to set some tooltip.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 24 October 2007 at 5:47pm

That won't solve it. Let me explain the issue in detail.

Premises:
1) I'm running Windows XP SP2, Classic style.
2) I have set a 2007-tooltip context in my report control.
3) The tooltips of the actual control do indeed have the 2007-style.
 
Bug:
When I resize a column so that a text is compressed. That is, "Hello world!" becomes "Hell..." and I put the mouse cursor over this item, the tooltip is not skinned!


Posted By: Oleg
Date Posted: 25 October 2007 at 2:01am

Hi,

What version do you have ? Did you call SetToolTip for this Hello world item ?



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 25 October 2007 at 3:15am

I have 11.20 and I did not call SetToolTip.



Posted By: Oleg
Date Posted: 25 October 2007 at 4:24am

Hello,

if you don't call SetToolTip used standard tip. if you call - used Themed with delay.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 31 October 2007 at 4:59am
That seems odd. If I explicitly set the tooltip context I expect the report control not to show any standard tooltips. Are you sure this is not a design flaw?


Posted By: Oleg
Date Posted: 31 October 2007 at 9:18am
Yes, I sure.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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