<?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 : Office2007 style tooltip in CXTTreeCtrl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Office2007 style tooltip in CXTTreeCtrl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 01:35:14 +0000</pubDate>
  <lastBuildDate>Wed, 23 May 2007 17:56:43 +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=7220</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[Office2007 style tooltip in CXTTreeCtrl : Hi; The last few hours I tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7220&amp;PID=23185&amp;title=office2007-style-tooltip-in-cxttreectrl#23185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 7220<br /><strong>Posted:</strong> 23 May 2007 at 5:56pm<br /><br />Hi;<DIV>The last few hours I tried in vain to create Office2007 style tooltips in a CXTTreeCtrl derived class to show detailed infos about tree items. I searched the forum and I also looked at the samples provided with the 11.1.0 release of the toolkit but with no success.</DIV><DIV>&nbsp;</DIV><DIV>What am I doing:</DIV><DIV>&nbsp;</DIV><DIV>1. Insert a member of type CXTPTooltipContext into CXTTreeCtrl class</DIV><DIV>2. Overwrite OnWndMsg and call tipContext.FilterTooltipMessage()</DIV><DIV>3. Overwrite OnToolHitTest() and fill in the TOOLINFO as seen in different forum posts:</DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV><FONT size=2>...<BR>pTI-&gt;hwnd = m_hWnd; // handle of tree control<BR>pTI-&gt;uId = (UINT_PTR)m_hWnd;<BR>pTI-&gt;uFlags |= TTF_IDISHWND;<BR>pTI-&gt;lpszText = LPSTR_TEXTCALLBACK;<BR>pTI-&gt;uFlags |= TTF_NOTBUTTON|TTF_CENTERTIP;<BR></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> 1;<BR>...</FONT></DIV></BLOCKQUOTE><DIV>4. ?? (I tried to catch TTN_NEEDTEXTA/TTN_NEEDTEXTW in a ON_NOTIFY_REFLECT message handler. But this never gets called!</DIV><DIV>&nbsp;</DIV><DIV>So where's my fault? Any ideas? </DIV><DIV>&nbsp;</DIV><DIV>Many thanks in advance...</DIV>]]>
   </description>
   <pubDate>Wed, 23 May 2007 17:56:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7220&amp;PID=23185&amp;title=office2007-style-tooltip-in-cxttreectrl#23185</guid>
  </item> 
 </channel>
</rss>