<?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 CXTPTreeBase::GetLastItem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : BUG CXTPTreeBase::GetLastItem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 03:29:51 +0000</pubDate>
  <lastBuildDate>Sun, 30 Oct 2011 13:20:37 +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=19120</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 CXTPTreeBase::GetLastItem : In HTREEITEM CXTPTreeBase::GetLastItem(HTREEITEM...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19120&amp;PID=66699&amp;title=bug-cxtptreebasegetlastitem#66699</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3104">MacW</a><br /><strong>Subject:</strong> 19120<br /><strong>Posted:</strong> 30 October 2011 at 1:20pm<br /><br />In <br>HTREEITEM CXTPTreeBase::GetLastItem(HTREEITEM hItem) const<br><br>The following statement produces an infinite loop when hItem has no children:<br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; while (m_pTreeCtrl-&gt;ItemHasChildren(hItem) != NULL)<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;// Find the last child of hItem<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;htiNext = m_pTreeCtrl-&gt;GetChildItem(hItem);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;while (htiNext != NULL)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;hItem = htiNext;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;htiNext = m_pTreeCtrl-&gt;GetNextSiblingItem(htiNext);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;}<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Sun, 30 Oct 2011 13:20:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19120&amp;PID=66699&amp;title=bug-cxtptreebasegetlastitem#66699</guid>
  </item> 
 </channel>
</rss>