Print Page | Close Window

CXTPToolTipContext reshow delay

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=11643
Printed Date: 12 May 2024 at 4:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPToolTipContext reshow delay
Posted By: markr
Subject: CXTPToolTipContext reshow delay
Date Posted: 29 July 2008 at 2:16pm
Hello,

I can't seem to get the CXTPToolTipContext object's "re-show" delay to work as I would expect. I'm not sure if the problem is with the implementation, or my expectations.  :-)

Let's take the ToolTipContext sample project (from v12.1 installation) for my example. Within the tooltip context view, moving from one circle to shows a new tooltip immediately - without any delay.

So I added the following line of code (and recompiled):

m_pTooltipContext->SetDelayTime(TTDT_RESHOW, 2000);

Unfortunately, this appears not to change anything. I would expect a 2-second delay between tooltip appearance when I move from one circle to another.

Can someone clarify how this is supposed to work?



Replies:
Posted By: Oleg
Date Posted: 30 July 2008 at 7:54am
Hi,
 
Try this instead:
 
 m_pTooltipContext->SetDelayTime(TTDT_RESHOW, 0);
 m_pTooltipContext->SetDelayTime(TTDT_INITIAL, 2000);


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


Posted By: markr
Date Posted: 30 July 2008 at 9:05am
Perfect, thank you Oleg!



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