<?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 in CXTOutBarCtrl::GetItemSize</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Bug in CXTOutBarCtrl::GetItemSize]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 20:15:50 +0000</pubDate>
  <lastBuildDate>Tue, 02 Oct 2007 05:49:38 +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=8254</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 in CXTOutBarCtrl::GetItemSize : HI, Sorry, it is part of Xtreme...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26782&amp;title=bug-in-cxtoutbarctrlgetitemsize#26782</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8254<br /><strong>Posted:</strong> 02 October 2007 at 5:49am<br /><br />HI,<DIV>Sorry, it is part of Xtreme TaskPanel or Xtreme ToolkitPro only.</DIV>]]>
   </description>
   <pubDate>Tue, 02 Oct 2007 05:49:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26782&amp;title=bug-in-cxtoutbarctrlgetitemsize#26782</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in CXTOutBarCtrl::GetItemSize : Where do I find the TaskPanel...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26770&amp;title=bug-in-cxtoutbarctrlgetitemsize#26770</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3356">KirillMueller</a><br /><strong>Subject:</strong> 8254<br /><strong>Posted:</strong> 02 October 2007 at 3:21am<br /><br />Where do I find the TaskPanel samples? They're not under my<br><br>Xtreme Controls v11.2.0\Samples\Controls<br><br>folder.<br>]]>
   </description>
   <pubDate>Tue, 02 Oct 2007 03:21:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26770&amp;title=bug-in-cxtoutbarctrlgetitemsize#26770</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in CXTOutBarCtrl::GetItemSize : Hi,  Thanks.  Actually CXTOutBarCtrl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26762&amp;title=bug-in-cxtoutbarctrlgetitemsize#26762</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8254<br /><strong>Posted:</strong> 02 October 2007 at 12:59am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV><DIV>Actually CXTOutBarCtrl is very obsolete class, I recommend you use CXTPTaskPanel instead. See Samples\TaskPanel\* samples.</DIV>]]>
   </description>
   <pubDate>Tue, 02 Oct 2007 00:59:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26762&amp;title=bug-in-cxtoutbarctrlgetitemsize#26762</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in CXTOutBarCtrl::GetItemSize : My code set the currently selected...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26732&amp;title=bug-in-cxtoutbarctrlgetitemsize#26732</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3356">KirillMueller</a><br /><strong>Subject:</strong> 8254<br /><strong>Posted:</strong> 01 October 2007 at 4:50pm<br /><br />My code set the currently selected item of a folder using SetSelItem while processing an OBN_XT_FOLDERCHANGE notification. This produced the apparently invalid state of m_nFirstItem &lt; 0. Consider adding an ASSERT.<br>]]>
   </description>
   <pubDate>Mon, 01 Oct 2007 16:50:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26732&amp;title=bug-in-cxtoutbarctrlgetitemsize#26732</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in CXTOutBarCtrl::GetItemSize : In fact, my application even crashes...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26731&amp;title=bug-in-cxtoutbarctrlgetitemsize#26731</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3356">KirillMueller</a><br /><strong>Subject:</strong> 8254<br /><strong>Posted:</strong> 01 October 2007 at 4:24pm<br /><br />In fact, my application even crashes when I fix this bug.<br><br>For some reason, m_nFirstItem becomes less than zero, and the code is not safe-guarded against this. In PaintItems, there is a loop<br><br>for (int i = m_nFirstItem; i &lt; nItemCount; i++)<br><br>that accessess items with index i, and this fails if nFirstItem &lt; 0.<br>]]>
   </description>
   <pubDate>Mon, 01 Oct 2007 16:24:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26731&amp;title=bug-in-cxtoutbarctrlgetitemsize#26731</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in CXTOutBarCtrl::GetItemSize : The code at lines 1833-1834 of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26729&amp;title=bug-in-cxtoutbarctrlgetitemsize#26729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3356">KirillMueller</a><br /><strong>Subject:</strong> 8254<br /><strong>Posted:</strong> 01 October 2007 at 3:53pm<br /><br />The code at lines 1833-1834 of XTOutBarCtrl.cpp (function CSize CXTOutBarCtrl::GetItemSize(const int iFolder, const int iIndex, const RectItem iType)) reads:<br><br>if (iIndex &lt; 0 &amp;&amp; iIndex &gt;= pBarFolder-&gt;GetItemCount())<br>&nbsp;&nbsp; return CSize(0, 0);<br><br>Looks like a logic problem, should be || instead of &amp;&amp;... This sometimes crashes my application, however, the sample works fine despite this bug.<br>]]>
   </description>
   <pubDate>Mon, 01 Oct 2007 15:53:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8254&amp;PID=26729&amp;title=bug-in-cxtoutbarctrlgetitemsize#26729</guid>
  </item> 
 </channel>
</rss>