<?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 and SetIndent</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPTreeCtrl and SetIndent]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 00:14:54 +0000</pubDate>
  <lastBuildDate>Wed, 05 Oct 2022 09:24:36 +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=24330</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 and SetIndent : We&amp;#039;ve recently updated from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24330&amp;PID=78537&amp;title=cxtptreectrl-and-setindent#78537</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3395">sibrowne</a><br /><strong>Subject:</strong> 24330<br /><strong>Posted:</strong> 05 October 2022 at 9:24am<br /><br /><div>We've recently updated from using Codejock v17 with VS2017 and have seen an issue in CXTPTreeCtrl that wasn't there previously.</div><div><br></div><div>We were using the SetIndent call in our override of CXTPTreeCtrl to move each item in the tree to the right by a number of pixels, so that we could draw some additional custom icons to the left of each item:</div><div><br></div><div><img src="uploads/3395/before.png" height="55" width="427" border="0" /><br></div><div><br></div><div><br></div><div>After updating, we now get this:</div><div><br></div><div><img src="uploads/3395/after.png" height="52" width="430" border="0" /><br></div><div><br></div><div>The expander button does not draw in the correct place, but to operate the expander button, you now have to click in the space with the dotted line (where the expander button used to be). It appears that the Hit Test for the expander is correct, but the expander image is drawing in the wrong place.</div><div><br></div><div>I have repeated this behaviour in the Codejock TreeCtrl sample app for Codejock v20 and VS2022, just by adding the following line to TreeCtrlDlg.cpp:</div><div><br></div><div><img src="uploads/3395/code.png" height="159" width="553" border="0" /><br></div><div><br></div><div>Are we using SetIndent incorrectly or is it not supported in CXTPTreeCtrl?</div>]]>
   </description>
   <pubDate>Wed, 05 Oct 2022 09:24:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24330&amp;PID=78537&amp;title=cxtptreectrl-and-setindent#78537</guid>
  </item> 
 </channel>
</rss>