<?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 fix to report&#146;s tree drawing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Bug fix to report&#146;s tree drawing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 14:37:40 +0000</pubDate>
  <lastBuildDate>Mon, 06 Dec 2004 07:44:12 +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=1491</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 fix to report&#146;s tree drawing : Sorry for our bad testing, you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1491&amp;PID=4271&amp;title=bug-fix-to-reports-tree-drawing#4271</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1491<br /><strong>Posted:</strong> 06 December 2004 at 7:44am<br /><br /><P>Sorry for our bad testing, you are rigtht. We fixed it as you suggest.</P><P>&nbsp;</P><P>Thank you for your help!</P>]]>
   </description>
   <pubDate>Mon, 06 Dec 2004 07:44:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1491&amp;PID=4271&amp;title=bug-fix-to-reports-tree-drawing#4271</guid>
  </item> 
  <item>
   <title><![CDATA[Bug fix to report&#146;s tree drawing : Given the following tree layout,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1491&amp;PID=4254&amp;title=bug-fix-to-reports-tree-drawing#4254</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=608">Torlack</a><br /><strong>Subject:</strong> 1491<br /><strong>Posted:</strong> 03 December 2004 at 12:28pm<br /><br />Given the following tree layout, the tree structure fails to draw correctly in the report.<br><br>1<br>x2<br>xx3<br>xxx4<br>xxx5<br>x6<br><br>The DrawTreeStructure routine is broken and would not draw the line between 2 and 6 in the rows containing 4 and 5.<br><br>Here is the fix, to just the while loop.<br><br><span style="font-family: courier new,courier,mono;">pRow = pRow-&gt;GetParentRow();</span><br style="font-family: courier new,courier,mono;"><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">if (pRow == NULL || pRow-&gt;GetParentRow() == 0 || pRow-&gt;IsGroupRow())</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">{</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">&nbsp;&nbsp;&nbsp; break;</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">}</span><br style="font-family: courier new,courier,mono;"><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">rcItem.OffsetRect(-nTreeIndent, 0);</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">if (!pRow-&gt;IsLastTreeRow())</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">{</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">&nbsp;&nbsp;&nbsp; pDC-&gt;FillSolidRect(rcItem.left, rcItem.top - 1, 1, rcItem.Height() + 1, clrTreeStructure);</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">}</span><br><br>The "IsLastTreeRow" was causing it to abort early.&nbsp; In my simple(and maybe wrong) fix, I only used it to test to see if we draw theline.<br><br>]]>
   </description>
   <pubDate>Fri, 03 Dec 2004 12:28:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1491&amp;PID=4254&amp;title=bug-fix-to-reports-tree-drawing#4254</guid>
  </item> 
 </channel>
</rss>