<?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 : [SOLVED] 16.1 Tree Control lines not visible</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : [SOLVED] 16.1 Tree Control lines not visible]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 22:10:41 +0000</pubDate>
  <lastBuildDate>Fri, 28 Jun 2013 05:59:11 +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=21628</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[[SOLVED] 16.1 Tree Control lines not visible : I compared source code for version...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=71245&amp;title=solved-16-1-tree-control-lines-not-visible#71245</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7164">prekopj</a><br /><strong>Subject:</strong> 21628<br /><strong>Posted:</strong> 28 June 2013 at 5:59am<br /><br />I compared source code for version 15.3.1 and 16.2.0.<div><br></div><div>I made one change - file XTPTreeBase.cpp on line 1054:</div><div><br></div><div><div>m_pTreeCtrl-&gt;DefWindowProc(WM_PAINT, (WPARAM)memDC.m_hDC, 0);</div><div><br></div><div><font color="#009900">// Now let the window do its default painting...</font></div><div>if (!bInternal)</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span><font color="#009900">//m_pTreeCtrl-&gt;DefWindowProc(WM_PAINT, (WPARAM)memDC.m_hDC, 0);</font></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>return;</div><div>}</div></div><div><br></div><div>and result:</div><div><br></div><div><img src="uploads/7164/tree_ctrl.png" height="523" width="742" border="0" /><br></div>]]>
   </description>
   <pubDate>Fri, 28 Jun 2013 05:59:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=71245&amp;title=solved-16-1-tree-control-lines-not-visible#71245</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] 16.1 Tree Control lines not visible : Sorry guys, tested a few minutes...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=71168&amp;title=solved-16-1-tree-control-lines-not-visible#71168</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8109">MrFelix</a><br /><strong>Subject:</strong> 21628<br /><strong>Posted:</strong> 20 June 2013 at 7:49am<br /><br />Sorry guys, tested a few minutes ago with latest 16.2.0, the problem is still present. Only calling CXTPTreeBase::DoPaint with bInternal == FALSE shows the lines. Your code does not handle TVS_HASLINES or TVS_LINESATROOT. Either handle and draw it or call the default window procedure.<br><br>I'll try to get a solution for me comparing to the sources of 15.3.1 until this problem is fixed within a future release of the toolkit.<br>]]>
   </description>
   <pubDate>Thu, 20 Jun 2013 07:49:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=71168&amp;title=solved-16-1-tree-control-lines-not-visible#71168</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] 16.1 Tree Control lines not visible : 16.2 ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=71158&amp;title=solved-16-1-tree-control-lines-not-visible#71158</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 21628<br /><strong>Posted:</strong> 19 June 2013 at 2:55pm<br /><br />16.2]]>
   </description>
   <pubDate>Wed, 19 Jun 2013 14:55:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=71158&amp;title=solved-16-1-tree-control-lines-not-visible#71158</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] 16.1 Tree Control lines not visible : Great  !Thanks. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=70988&amp;title=solved-16-1-tree-control-lines-not-visible#70988</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3104">MacW</a><br /><strong>Subject:</strong> 21628<br /><strong>Posted:</strong> 24 May 2013 at 12:38pm<br /><br />Great <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /> !<br>Thanks.<br>]]>
   </description>
   <pubDate>Fri, 24 May 2013 12:38:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=70988&amp;title=solved-16-1-tree-control-lines-not-visible#70988</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] 16.1 Tree Control lines not visible : Hello, this has been fixed for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=70984&amp;title=solved-16-1-tree-control-lines-not-visible#70984</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 21628<br /><strong>Posted:</strong> 24 May 2013 at 10:13am<br /><br />Hello, this has been fixed for the next release.<br><br>]]>
   </description>
   <pubDate>Fri, 24 May 2013 10:13:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=70984&amp;title=solved-16-1-tree-control-lines-not-visible#70984</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] 16.1 Tree Control lines not visible : Some further info.In XTPTreeBase.cpp...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=70910&amp;title=solved-16-1-tree-control-lines-not-visible#70910</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3104">MacW</a><br /><strong>Subject:</strong> 21628<br /><strong>Posted:</strong> 06 May 2013 at 3:07am<br /><br />Some further info.<br>In XTPTreeBase.cpp is an ominous global variable <br><br>static BOOL g_bDefaultIconsDrawing = FALSE;<br><br>when I set this to TRUE in the debugger, the DoPaint method of the XTPCotnrol calls<br><br>m_pTreeCtrl-&gt;DefWindowProc(WM_PAINT, (WPARAM)memDC.m_hDC, 0);<br><br>and the &#091;+&#093; and &#091;-&#093; icons and the tree lines are back!!!<br><br>Has anything changed with the way we need to initialize tree controls in 16.1? <br>Some new 'Theme' method we must call or anything to make this work.<br><br>Since this also fails in your samples, can you please have a look. We need to ship our product and we need to decide whether or not be ship XTP 16 or the older version. <br><br><br>]]>
   </description>
   <pubDate>Mon, 06 May 2013 03:07:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=70910&amp;title=solved-16-1-tree-control-lines-not-visible#70910</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] 16.1 Tree Control lines not visible : After migrating to version 16.1...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=70907&amp;title=solved-16-1-tree-control-lines-not-visible#70907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3104">MacW</a><br /><strong>Subject:</strong> 21628<br /><strong>Posted:</strong> 04 May 2013 at 4:01am<br /><br />After migrating to version 16.1 of Toolkit Pro, tree controls based on CXTPTreeCtrl don't show any lines, even if the TVS_HASLINES and TVS_LINESATROOT are set in the resource or the derived class.<br><br>I see this behavior in my app, and also, for example, in the CodeJock Tree Control Sample.<br>Sometimes, when clicking in the tree where the &#091;+&#093; icon usually is, the &#091;+&#093; icon shows up, but the next tree redraw hides them again. Lines are never shown.<br><br>Platform: Visual C++ 2012, Windows 7 SP1, 32-Bit. XTP 16.1<br><br><img src="uploads/3104/tree_bug01.jpg" height="329" width="555" border="0" /><br>]]>
   </description>
   <pubDate>Sat, 04 May 2013 04:01:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21628&amp;PID=70907&amp;title=solved-16-1-tree-control-lines-not-visible#70907</guid>
  </item> 
 </channel>
</rss>