<?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 : Toolbar tooltip for custom controls</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Toolbar tooltip for custom controls]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 17:39:13 +0000</pubDate>
  <lastBuildDate>Fri, 07 Sep 2007 10:32:03 +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=6713</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[Toolbar tooltip for custom controls : Excellent - works just great :-)  Now...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=25637&amp;title=toolbar-tooltip-for-custom-controls#25637</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 6713<br /><strong>Posted:</strong> 07 September 2007 at 10:32am<br /><br /><img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;Excellent - works just great :-)<DIV>&nbsp;</DIV><DIV>Now for 11.2 - have a nice weekend.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 07 Sep 2007 10:32:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=25637&amp;title=toolbar-tooltip-for-custom-controls#25637</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar tooltip for custom controls : Woo-Hoo, I&amp;#039;ll try this today...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=25628&amp;title=toolbar-tooltip-for-custom-controls#25628</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 6713<br /><strong>Posted:</strong> 07 September 2007 at 3:11am<br /><br />Woo-Hoo, I'll try this today or tomorrow and see if I can get it working - many thanks.]]>
   </description>
   <pubDate>Fri, 07 Sep 2007 03:11:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=25628&amp;title=toolbar-tooltip-for-custom-controls#25628</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar tooltip for custom controls : Hi,  Here little workaround...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=25621&amp;title=toolbar-tooltip-for-custom-controls#25621</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6713<br /><strong>Posted:</strong> 07 September 2007 at 1:49am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Here little workaround class:</DIV><DIV>&nbsp;</DIV><DIV>template &lt;class T&gt;<BR>class CToolTipRouter : public T<BR>{<BR>&nbsp;BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)<BR>&nbsp;{<BR>&nbsp;&nbsp;CXTPCommandBar* pCommandBar = DYNAMIC_DOWNCAST(CXTPCommandBar, GetParent());<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;if (pCommandBar)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;pCommandBar-&gt;FilterToolTipMessage(message, wParam, lParam);<BR>&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;if (message == XTP_TTM_WINDOWFROMPOINT)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;*pResult = 1;<BR>&nbsp;&nbsp;&nbsp;return TRUE;<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;return CWnd::OnWndMsg(message, wParam, lParam, pResult);<BR>&nbsp;}<BR>};</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Now replace your m_MyControl declaration in mainfrm.h&nbsp;from</DIV><DIV>&nbsp;</DIV><DIV><EM>CMyClass</EM> m_MyControl;</DIV><DIV>&nbsp;</DIV><DIV>to </DIV><DIV>&nbsp;</DIV><DIV>CToolTipRouter&lt;<EM>CMyClass</EM>&gt; m_MyControl;</DIV>]]>
   </description>
   <pubDate>Fri, 07 Sep 2007 01:49:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=25621&amp;title=toolbar-tooltip-for-custom-controls#25621</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar tooltip for custom controls : Bump -I would like this please....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=25607&amp;title=toolbar-tooltip-for-custom-controls#25607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 6713<br /><strong>Posted:</strong> 06 September 2007 at 9:41am<br /><br />Bump -&nbsp;I would like this please.]]>
   </description>
   <pubDate>Thu, 06 Sep 2007 09:41:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=25607&amp;title=toolbar-tooltip-for-custom-controls#25607</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar tooltip for custom controls :  One workaround would be to use...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=21440&amp;title=toolbar-tooltip-for-custom-controls#21440</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6713<br /><strong>Posted:</strong> 26 March 2007 at 1:44am<br /><br />One workaround would be to use a "normal" handling of tooltips for that single custom control of mine. Is there any commandbar-based solution for this?<br><br>]]>
   </description>
   <pubDate>Mon, 26 Mar 2007 01:44:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=21440&amp;title=toolbar-tooltip-for-custom-controls#21440</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar tooltip for custom controls : Hello,I&amp;#039;ve added my own control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=21399&amp;title=toolbar-tooltip-for-custom-controls#21399</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6713<br /><strong>Posted:</strong> 23 March 2007 at 5:00am<br /><br />Hello,<br><br>I've added my own control into an XTP toolbar through CXTPControlCustom, but setting a tooltip text for this control just <b><font color="#0000ff">doesn't display any tooltip</font></b>.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXTPControlCustom* pControlEmbedder = CXTPControlCustom::CreateControlCustom(&amp;m_MyControl);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pControlEmbedder-&gt;SetTooltip(_T("My Tooltip Text"));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_pMyToolbar-&gt;GetControls()-&gt;Add(pControlEmbedder);<br><br>Do you have any idea what's wrong with this? Do I have to handle tooltips of my control window on my own?<br><br>Thank you for any suggestions, in advance!<br><br>]]>
   </description>
   <pubDate>Fri, 23 Mar 2007 05:00:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6713&amp;PID=21399&amp;title=toolbar-tooltip-for-custom-controls#21399</guid>
  </item> 
 </channel>
</rss>