<?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::FillInToolInfo question</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPToolTipContext::FillInToolInfo question]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 20:13:34 +0000</pubDate>
  <lastBuildDate>Thu, 09 Jul 2009 16:21:45 +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=14634</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::FillInToolInfo question : I found out what I was doing wrong....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14634&amp;PID=50815&amp;title=cxtptooltipcontextfillintoolinfo-question#50815</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 14634<br /><strong>Posted:</strong> 09 July 2009 at 4:21pm<br /><br />I found out what I was doing wrong. Even though I called FillInToolInfo with the child window, I still returned -1 from the OnToolHitTest function. That causes CJ to fail to acitvate the tip. So I simply set my return value to zero when I called FillInToolInfo from OnToolHitTest for a static window. I just didn't step through enough of the CJ code after returning from OnToolHitTest to realize that was the cause. So now my static text tips when necessary.]]>
   </description>
   <pubDate>Thu, 09 Jul 2009 16:21:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14634&amp;PID=50815&amp;title=cxtptooltipcontextfillintoolinfo-question#50815</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolTipContext::FillInToolInfo question : I have dialogs that have static...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14634&amp;PID=50372&amp;title=cxtptooltipcontextfillintoolinfo-question#50372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 14634<br /><strong>Posted:</strong> 26 June 2009 at 6:10pm<br /><br />I have dialogs that have static text on them. Sometimes we modify the text and place "..." in it while shortening the text (calling DrawTextEx and ::SetWindowText with the results). So I decided to show a tooltip over the text. Is it possible to do so? Even though I am handling OnToolHitTest and calling <FONT size=2><P>CXTPToolTipContext::FillInToolInfo</P><DIV></DIV><DIV></DIV>The tip never shows up. I am already filling in the tool info for non-static controls with no problem (in the same code). The only difference when the text fails to show up (other than the description passed into the call) is the hWnd is that of a static control and the uID is -1. I have tried hard-coding the uID to 5 and then even setting it to the id of another control that tips with no problem (just to see if that would make a difference) but neither worked. That only leaves me with the hWnd passed in being that of a static control. Oh, I tried hard-coding in the hWnd of one of the other non-static controls (the same one I stole the control ID from) but that failed too (I expected it to since the system would probably think I had already moved over another window before the tip timer went off).<DIV>&nbsp;</DIV><DIV>So is there some issue with static controls that causesthe tip to fail to show up even though I make the call to FillInToolInfo?</DIV></FONT>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 18:10:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14634&amp;PID=50372&amp;title=cxtptooltipcontextfillintoolinfo-question#50372</guid>
  </item> 
 </channel>
</rss>