<?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 : Problem with CancelTooltips for HTML tips</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Problem with CancelTooltips for HTML tips]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:43:56 +0000</pubDate>
  <lastBuildDate>Mon, 26 Jun 2017 11:28:01 +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=23372</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[Problem with CancelTooltips for HTML tips : I have another issue when using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23372&amp;PID=75903&amp;title=problem-with-canceltooltips-for-html-tips#75903</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 23372<br /><strong>Posted:</strong> 26 June 2017 at 11:28am<br /><br />I have another issue when using HTML tooltips where sometimes the tooltip gets displayed after the user has moved on and the tip has been canceled. This one is related to the fact that HTML tooltips have to call PumpMessage. The message pumping occurs before the HTML tooltip's window is displayed. The window display happens after the ready state is signaled.<br><br>The problem is that the CodeJock CancelTooltips method calls SendMessage( TTM_ACTIVATE, FALSE ). SendMessage causes the CXTPToolTipContextToolTip::Activate method to be called immediately. At the end of the method, this code executes:<br><br>if (!bActivate &amp;&amp; GetSafeHwnd() &amp;&amp; IsWindowVisible())<br>{<br>&nbsp;&nbsp;&nbsp; SetVisibleTool(NULL);<br>}<br><br>But since the window is not yet visible, the display isn't stopped. Eventually the read state is raised and the tooltip window is displayed. The user has to move back over the control and off of it to get the window to go away.<br><br>I have added code at the end of SetVisibleTool to check m_bActivate and if it has changed while in the method, I call SetVisibleTool(NULL) to clean up the tip.<br>]]>
   </description>
   <pubDate>Mon, 26 Jun 2017 11:28:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23372&amp;PID=75903&amp;title=problem-with-canceltooltips-for-html-tips#75903</guid>
  </item> 
 </channel>
</rss>