<?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 : CXTPToolTipContextToolTip and long text</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPToolTipContextToolTip and long text]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 23:15:54 +0000</pubDate>
  <lastBuildDate>Mon, 31 Mar 2008 05:12:19 +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=9978</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[CXTPToolTipContextToolTip and long text : In file: Common\XTPToolTipContext.cpp...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32862&amp;title=cxtptooltipcontexttooltip-and-long-text#32862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 9978<br /><strong>Posted:</strong> 31 March 2008 at 5:12am<br /><br />In file: Common\XTPToolTipContext.cpp<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 05:12:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32862&amp;title=cxtptooltipcontexttooltip-and-long-text#32862</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolTipContextToolTip and long text :   jimmy wrote:I see that this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32861&amp;title=cxtptooltipcontexttooltip-and-long-text#32861</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 9978<br /><strong>Posted:</strong> 31 March 2008 at 5:10am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jimmy" alt="Originally posted by jimmy" style="vertical-align: text-bottom;" /> <strong>jimmy wrote:</strong><br /><br />I see that this was changed from 11.1.3 to 11.2.2.<BR>In 11.1.3 only used szText&#091;80&#093;. And in 11.2.2 lpszText will be used.<BR></td></tr></table> <DIV>&nbsp;</DIV><DIV>Which file is this?</DIV>]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 05:10:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32861&amp;title=cxtptooltipcontexttooltip-and-long-text#32861</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolTipContextToolTip and long text : I see that this was changed from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32860&amp;title=cxtptooltipcontexttooltip-and-long-text#32860</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 9978<br /><strong>Posted:</strong> 31 March 2008 at 4:59am<br /><br />I see that this was changed from 11.1.3 to 11.2.2.<br>In 11.1.3 only used szText&#091;80&#093;. And in 11.2.2 lpszText will be used.<br><br>&nbsp; Jimmy<br><br><br><br>]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 04:59:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32860&amp;title=cxtptooltipcontexttooltip-and-long-text#32860</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolTipContextToolTip and long text : Hi,1. Catch A and W-Versions:O...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32730&amp;title=cxtptooltipcontexttooltip-and-long-text#32730</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3666">gjasny</a><br /><strong>Subject:</strong> 9978<br /><strong>Posted:</strong> 28 March 2008 at 1:01pm<br /><br />Hi,<br><br>1. Catch A and W-Versions:<br><font face="Courier New, Courier, mono">ON_NOTIFY_EX_RANGE(TTN_NEEDTEXTA, 0, 0xFFFF, OnToolTipText)<br>ON_NOTIFY_EX_RANGE(TTN_NEEDTEXTW, 0, 0xFFFF, OnToolTipText)</font><br><br>2. Create two member variables:<br><br><font face="Courier New, Courier, mono">CStringA m_TooltipStringA;<br>CStringW m_TooltipStringW;</font><br><br>3. Beside the ususal black magic in OnToolTipText do the following:<br><br>&#091;...&#093;<br><br><font face="Courier New, Courier, mono">TOOLTIPTEXTA* pTTTA = reinterpret_cast&lt;TOOLTIPTEXTA*&gt;(pNMHDR);<br>TOOLTIPTEXTW* pTTTW = reinterpret_cast&lt;TOOLTIPTEXTW*&gt;(pNMHDR);<br></font><br>&#091;...&#093;<br><br><font face="Courier New, Courier, mono">if (pNMHDR-&gt;code == TTN_NEEDTEXTA)<br>{<br>&nbsp;&nbsp;&nbsp; m_TooltipStringA = &#091;assign long tool tip text here&#093;<br>&nbsp;&nbsp;&nbsp; pTTTA-&gt;lpszText&nbsp; = m_TooltipStringA.GetBuffer(0);<br>}<br>else if (pNMHDR-&gt;code == TTN_NEEDTEXTW)<br>{<br>&nbsp;&nbsp;&nbsp; m_TooltipStringW = &#091;assign long tool tip text here&#093;<br>&nbsp;&nbsp;&nbsp; pTTTW-&gt;lpszText&nbsp; = m_TooltipStringW.GetBuffer(0);<br>}<br><br><font face="Verdana, Arial, Helvetica, sans-serif">At least this works for me.<br><br>Gregor<br></font></font>]]>
   </description>
   <pubDate>Fri, 28 Mar 2008 13:01:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32730&amp;title=cxtptooltipcontexttooltip-and-long-text#32730</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolTipContextToolTip and long text : Hi,In OnInitDialog i call EnableToolTips();...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32680&amp;title=cxtptooltipcontexttooltip-and-long-text#32680</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 9978<br /><strong>Posted:</strong> 28 March 2008 at 7:53am<br /><br />Hi,<br><br>In OnInitDialog i call<br><br>&nbsp;&nbsp;&nbsp; EnableToolTips();<br>&nbsp;&nbsp;&nbsp; m_moduleContext.SetModuleToolTipContext();<br><br>&nbsp;&nbsp;&nbsp; ON_NOTIFY_EX_RANGE(TTN_NEEDTEXTW, 0, 0xFFFF, OnToolTipText)<br>&nbsp;&nbsp;&nbsp; ON_NOTIFY_EX_RANGE(TTN_NEEDTEXTA, 0, 0xFFFF, OnToolTipText)<br><br>And use BOOL CExResizeDialog::OnToolTipText(UINT, NMHDR* pNMHDR, LRESULT* pResult)<br>from TooltipContextDialog sample.<br>And here the function copy the string from AfxLoadString into the<br>pTTTA-&gt;szText buffer. And this buffer has only 80 bytes.<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Fri, 28 Mar 2008 07:53:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32680&amp;title=cxtptooltipcontexttooltip-and-long-text#32680</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolTipContextToolTip and long text : Hi, I don&amp;#039;t think there...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32667&amp;title=cxtptooltipcontexttooltip-and-long-text#32667</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9978<br /><strong>Posted:</strong> 28 March 2008 at 6:51am<br /><br />Hi,<DIV>I don't think there is such restriction. How do you set text ?</DIV>]]>
   </description>
   <pubDate>Fri, 28 Mar 2008 06:51:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32667&amp;title=cxtptooltipcontexttooltip-and-long-text#32667</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolTipContextToolTip and long text : Hello,I use CXTPToolTipContextToolTip...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32645&amp;title=cxtptooltipcontexttooltip-and-long-text#32645</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 9978<br /><strong>Posted:</strong> 27 March 2008 at 11:25am<br /><br />Hello,<br><br>I use CXTPToolTipContextToolTip on a dialog application.<br>How can i set a long tooltip text (more than 80 chars ) ?<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Thu, 27 Mar 2008 11:25:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9978&amp;PID=32645&amp;title=cxtptooltipcontexttooltip-and-long-text#32645</guid>
  </item> 
 </channel>
</rss>