CXTPToolTipContext reshow delay |
Post Reply |
Author | |
markr
Senior Member Joined: 01 August 2004 Status: Offline Points: 442 |
Post Options
Thanks(0)
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? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Try this instead:
m_pTooltipContext->SetDelayTime(TTDT_RESHOW, 0);
m_pTooltipContext->SetDelayTime(TTDT_INITIAL, 2000); |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
markr
Senior Member Joined: 01 August 2004 Status: Offline Points: 442 |
Post Options
Thanks(0)
|
Perfect, thank you Oleg!
|
|
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 |