<?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 : Bug - CalendarDemo, custom tooltip</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Bug - CalendarDemo, custom tooltip]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 19:04:10 +0000</pubDate>
  <lastBuildDate>Mon, 08 Jun 2009 08:42:58 +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=14456</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[Bug - CalendarDemo, custom tooltip : Sure - this is very juniour task....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14456&amp;PID=49706&amp;title=bug-calendardemo-custom-tooltip#49706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14456<br /><strong>Posted:</strong> 08 June 2009 at 8:42am<br /><br /><P>Sure - this is very juniour task. But in 13.1 this is public member of CXTPCalendarControl</P><DIV></DIV><FONT size=2><P>CString m_sCustomFormat4Tooltip;</P><P></FONT><FONT color=#008000 size=2>//Free-styled tooltip tag-based way to fill tooltip string</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>//used tags &lt;BODY&gt;,&lt;LOC&gt;,&lt;SUBJ&gt;,&lt;TIME&gt; in any combination and&nbsp; order and with any fillers</P></FONT>]]>
   </description>
   <pubDate>Mon, 08 Jun 2009 08:42:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14456&amp;PID=49706&amp;title=bug-calendardemo-custom-tooltip#49706</guid>
  </item> 
  <item>
   <title><![CDATA[Bug - CalendarDemo, custom tooltip : I think this has been around for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14456&amp;PID=49657&amp;title=bug-calendardemo-custom-tooltip#49657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 14456<br /><strong>Posted:</strong> 04 June 2009 at 10:18pm<br /><br />I think this has been around for some time, but thought I'd point it out.<br>&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <br>Find in CalendarDemoView. <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INT_PTR CXTPCalendarControl_Custom::OnToolHitTest(CPoint point, TOOLINFO* pTI) const<br><br>This will cause a crash in unicode:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int nBuffSize = strToolText.GetLength()*2 +10;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;TCHAR* pBuffer = (TCHAR*)malloc(nBuffSize);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; STRCPY_S(pBuffer, nBuffSize, (LPCTSTR)strToolText);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pTI-&gt;lpszText = pBuffer; <br><br>I did a quick fix as follows:<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; int nBuffSize = strToolText.GetLength() +10;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TCHAR* pBuffer = (TCHAR*)calloc(nBuffSize,sizeof (TCHAR));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STRCPY_S(pBuffer, nBuffSize, (LPCTSTR)strToolText);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pTI-&gt;lpszText = pBuffer;<br><br>I found custom tooltips much easier to implement by editing the source rather than using a custom control anyhow.<br>]]>
   </description>
   <pubDate>Thu, 04 Jun 2009 22:18:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14456&amp;PID=49657&amp;title=bug-calendardemo-custom-tooltip#49657</guid>
  </item> 
 </channel>
</rss>