<?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 : CXTPTreeCtrl drawing bug</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTreeCtrl drawing bug]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 11:12:31 +0000</pubDate>
  <lastBuildDate>Mon, 03 Nov 2008 17:30:08 +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=12420</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[CXTPTreeCtrl drawing bug : I found the problem.  My code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42601&amp;title=cxtptreectrl-drawing-bug#42601</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 12420<br /><strong>Posted:</strong> 03 November 2008 at 5:30pm<br /><br />I found the problem.<br /><br />My code was highlighting a path in the tree back to the root node,by setting the item bold and red.  My tree was only 2 levels deep, but it was calling into SetItemBold 3 times.<br /><br />Turns out my recursive code was calling SetItemBold and SetItemColor on the root of the tree ctrl as well (TVI_ROOT). This messes up the width of the control completely.<br /><br />Taking out that last call fixed the problem.  don't know if this problem is a known issue with custom ctl tree control or not, but I couldn't find any evidence to support my earlier theory that it was codejock issue.<br /><br /><br />]]>
   </description>
   <pubDate>Mon, 03 Nov 2008 17:30:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42601&amp;title=cxtptreectrl-drawing-bug#42601</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTreeCtrl drawing bug : Create a sample for Oleg to debug......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42523&amp;title=cxtptreectrl-drawing-bug#42523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 12420<br /><strong>Posted:</strong> 31 October 2008 at 7:35am<br /><br />Create a sample for Oleg to debug...]]>
   </description>
   <pubDate>Fri, 31 Oct 2008 07:35:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42523&amp;title=cxtptreectrl-drawing-bug#42523</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTreeCtrl drawing bug : bump again.  I think this is an...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42521&amp;title=cxtptreectrl-drawing-bug#42521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 12420<br /><strong>Posted:</strong> 31 October 2008 at 1:11am<br /><br />bump again.<br /><br />I think this is an issue with being inside a pane.<br /><br />the width that the client area of the pane (e.g. width of tree ctrl) gets set to is the width of my screen.<br /><br />I've got 3 monitors, the width of the tree ctrl gets set to 4800px.<br /><br />This doesn't happen if the tree ctrl is not inside a pane..]]>
   </description>
   <pubDate>Fri, 31 Oct 2008 01:11:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42521&amp;title=cxtptreectrl-drawing-bug#42521</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTreeCtrl drawing bug : Hi Oleg  I think it&amp;#039;s something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42172&amp;title=cxtptreectrl-drawing-bug#42172</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 12420<br /><strong>Posted:</strong> 20 October 2008 at 8:42pm<br /><br />Hi Oleg<br /><br />I think it's something to do with being inside a Pane, and how sizes are updated.<br /><br />It doesn't happen in the tree control sample.<br /><br />even if it were using the wrong font to calculate width, that wouldn't put the width out by a factor of about 20.<br /><br />The thing thinks it's width is my entire screen width.]]>
   </description>
   <pubDate>Mon, 20 Oct 2008 20:42:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42172&amp;title=cxtptreectrl-drawing-bug#42172</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTreeCtrl drawing bug : Hi,  Guess its CTreeCtrl thing....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42136&amp;title=cxtptreectrl-drawing-bug#42136</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12420<br /><strong>Posted:</strong> 20 October 2008 at 6:35am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Guess its CTreeCtrl&nbsp; thing. It calculates width using normal font.</DIV>]]>
   </description>
   <pubDate>Mon, 20 Oct 2008 06:35:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42136&amp;title=cxtptreectrl-drawing-bug#42136</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTreeCtrl drawing bug : bump.... ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42135&amp;title=cxtptreectrl-drawing-bug#42135</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 12420<br /><strong>Posted:</strong> 20 October 2008 at 3:07am<br /><br />bump....]]>
   </description>
   <pubDate>Mon, 20 Oct 2008 03:07:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=42135&amp;title=cxtptreectrl-drawing-bug#42135</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTreeCtrl drawing bug : I&amp;#039;ve got a CXTPTreeCtrl which...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=41943&amp;title=cxtptreectrl-drawing-bug#41943</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 12420<br /><strong>Posted:</strong> 13 October 2008 at 6:37am<br /><br />I've got a CXTPTreeCtrl which I use for a navigation menu.<br /><br />It's embedded inside a docking pane.<br /><br />All is good until I set one of the labels to be bold.<br /><br />As soon as I do that, the list control thinks its width is the whole screen width (or thereabouts), and I get a horizontal scrollbar, with the scroll dragger only about 8px wide.<br /><br />If I set the label back, it doesn't fix it.<br /><br />I've actually also seen this with a straight CTreeCtrl inside a docking pane.<br /><br />I'm not sure therefore if it's a problem with the ctrl, or the docking pane?]]>
   </description>
   <pubDate>Mon, 13 Oct 2008 06:37:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12420&amp;PID=41943&amp;title=cxtptreectrl-drawing-bug#41943</guid>
  </item> 
 </channel>
</rss>