<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : CXTPToolTipContext fails to update tips</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPToolTipContext fails to update tips]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 04:27:11 +0000</pubDate>
  <lastBuildDate>Fri, 10 Jul 2009 11:14:51 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=14718</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[CXTPToolTipContext fails to update tips : For some reason CXTPToolTipCon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14718&amp;PID=50858&amp;title=cxtptooltipcontext-fails-to-update-tips#50858</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 14718<br /><strong>Posted:</strong> 10 July 2009 at 11:14am<br /><br />For some reason <FONT size=2>CXTPToolTipContext::FilterToolTipMessageHelper is caching the control id and the window handle and refuses to tip if neither of these values change when OnToolHitTest is called. So even though I have tips that depend on the location of the mouse when over a window, CJ refuses to tip. This is not what MFC does and I wonder why CJ even bothers to do cache data. We keep having to code around this issue and I really see no good reason why CJ just doesn't let us tip when we want to tip.<DIV></DIV><DIV>&nbsp;</DIV><DIV>This causes us problems for list controls, tree controls and just about any window that displays multiple sets of data for which I want to provide tips.</DIV><DIV>&nbsp;</DIV><DIV>Heck, even if I call FillInToolInfo and the actual tip string changes, CJ still refuses to display the new tip. The result is either no tip appears, or once one appears, it never changes (or moves) as the user is moving about in our window.&nbsp;We need to change the tip based on the location of the mouse in the window. So the window handle and control ID are constant BUT THE TIP IS NOT.</DIV><DIV>&nbsp;</DIV><DIV>So what call can I make when OnToolHitTest is called so that CJ tip context effectively "resets" so our tips work like they used to?</DIV></FONT>]]>
   </description>
   <pubDate>Fri, 10 Jul 2009 11:14:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14718&amp;PID=50858&amp;title=cxtptooltipcontext-fails-to-update-tips#50858</guid>
  </item> 
 </channel>
</rss>