<?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 GUI Issues</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPTreeCtrl GUI Issues]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 05:11:25 +0000</pubDate>
  <lastBuildDate>Thu, 31 Oct 2013 10:26:05 +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=21962</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 GUI Issues :  Using Toolkit Pro 16.2.4. Consider...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21962&amp;PID=71763&amp;title=cxtptreectrl-gui-issues#71763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8316">mikegb</a><br /><strong>Subject:</strong> 21962<br /><strong>Posted:</strong> 31 October 2013 at 10:26am<br /><br /><div>Using Toolkit Pro 16.2.4.&nbsp; Consider the following dialog box with 4 columns of 2 tree controls per column.&nbsp; Separated as follows:</div><div>&nbsp;</div><div>Column 0, Row 0 - CTreeCtrl</div><div>Column 0, Row 1 - CTreeCtrl with images</div><div><div>Column 1, Row 0 - CTreeCtrl with explorer theme&nbsp; (i.e. Windows SetWindowTheme API)</div><div>Column 1, Row 1 - CTreeCtrl with images and explorer theme</div></div><div><div>Column 2, Row 0 - CXTPTreeCtrl</div><div>Column 2, Row 1 - CXTPTreeCtrlwith images</div><div><div>Column 3, Row 0 - CXTPTreeCtrl with explorer theme (i.e. CXTP SetExplorerTheme API)</div><div>Column 3, Row 1 - CXTPTreeCtrl with images and explorer theme</div><div>&nbsp;</div><div>With checkboxes enabled, this is how CXTPTreeControl compares to the standard tree control:</div><div>&nbsp;</div></div></div><img src="uploads/8316/CXTPTreeCtrl.png" height="346" width="732" border="0" /><div>&nbsp;</div><div>&nbsp;</div><div>Following CXTPTreeControl GUI issues are identified:</div><ol><li>As has been previously noted on this forum, CXTPTreeCtrl doesn't handle checkboxes properly when there isn't an image as well (Column 2, Row 0 and Column 3, Row 0).</li><li>Not using the themed colors with SetExplorerTheme is enabled.&nbsp; Compare column 3 with the correct colors in column 1.</li><li>Nitpick but the expand/collapse icon is one pixel lower than the standard tree control.&nbsp; Compare Columns 2,3 with Columns 0,1.</li></ol><div>I can fix the GUI issues by using this class instead:</div><div>&nbsp;</div><div><font face="Courier New, Courier, mono" size="2">class CXTPTreeCtrlHack : public CXTPTreeCtrl<br>{<br>&nbsp;&nbsp; virtual void DoPaint(CDC&amp; dc, BOOL bInternal) { __super::DoPaint(dc, FALSE); }<br>};</font></div><div>&nbsp;</div><div>But then you lose other CXTPTreeControl features.&nbsp; Wanted to let you know.&nbsp; Thanks.</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 31 Oct 2013 10:26:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21962&amp;PID=71763&amp;title=cxtptreectrl-gui-issues#71763</guid>
  </item> 
 </channel>
</rss>