Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPToolTipContext reshow delay
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPToolTipContext reshow delay

 Post Reply Post Reply
Author
Message Reverse Sort Order
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Topic: CXTPToolTipContext reshow delay
    Posted: 30 July 2008 at 9:05am
Perfect, thank you Oleg!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.