Print Page | Close Window

Default Tooltip Delay

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15536
Printed Date: 29 September 2024 at 1:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Default Tooltip Delay
Posted By: Kisly
Subject: Default Tooltip Delay
Date Posted: 03 November 2009 at 3:45am
ReportControl has default tooltips and display them then the text doesn't fit. The problem is it display them immediately. Is it possible to set up a delay time for these default tooltips?



Replies:
Posted By: markr
Date Posted: 03 November 2009 at 11:44am
Have you tried something like:

GetReportCtrl().GetToolTipContext()->SetDelayTime(TTDT_TTDT_INITIAL, 2000);


Posted By: Kisly
Date Posted: 06 November 2009 at 3:03am
Originally posted by markr markr wrote:

Have you tried something like:

Sure. It works but only for my custom tooltips (which are created in XTP_NM_REPORT_GETTOOLTIPINFO message handler). I want to create custom tooltips for several columns and leave default tooltips for the rest. It works, but there's a problem with default tooltips' initial delay. I've analyzed report source code and it looks like default tooltips doesn't use delay at all. (Need confirmation from devs)



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