<?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] Crash bug in 13.2</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] Crash bug in 13.2]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 04:02:23 +0000</pubDate>
  <lastBuildDate>Mon, 01 Feb 2010 08:02: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=15444</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] Crash bug in 13.2 : Was this fixed for 13.2.2+? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=56502&amp;title=solved-crash-bug-in-13-2#56502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15444<br /><strong>Posted:</strong> 01 February 2010 at 8:02am<br /><br /><P>Was this fixed for 13.2.2+?</P>]]>
   </description>
   <pubDate>Mon, 01 Feb 2010 08:02:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=56502&amp;title=solved-crash-bug-in-13-2#56502</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Crash bug in 13.2 : What am I supposed to check? There...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54305&amp;title=solved-crash-bug-in-13-2#54305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15444<br /><strong>Posted:</strong> 29 October 2009 at 6:54am<br /><br />What am I supposed to check? There is an obvious drawing problem when scrolling if this function has been called.]]>
   </description>
   <pubDate>Thu, 29 Oct 2009 06:54:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54305&amp;title=solved-crash-bug-in-13-2#54305</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Crash bug in 13.2 : This is not a sample I asked to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54245&amp;title=solved-crash-bug-in-13-2#54245</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15444<br /><strong>Posted:</strong> 27 October 2009 at 11:30am<br /><br />This is not a sample I asked to look - check my way in <FONT size=2>CReportPaneViewView::OnInitialUpdate</FONT>]]>
   </description>
   <pubDate>Tue, 27 Oct 2009 11:30:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54245&amp;title=solved-crash-bug-in-13-2#54245</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Crash bug in 13.2 : See screenshot... ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54244&amp;title=solved-crash-bug-in-13-2#54244</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15444<br /><strong>Posted:</strong> 27 October 2009 at 11:27am<br /><br /><P>See screenshot...</P>]]>
   </description>
   <pubDate>Tue, 27 Oct 2009 11:27:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54244&amp;title=solved-crash-bug-in-13-2#54244</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Crash bug in 13.2 : this is my code for ReportPaneView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54209&amp;title=solved-crash-bug-in-13-2#54209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15444<br /><strong>Posted:</strong> 26 October 2009 at 7:52pm<br /><br />this is my code for <FONT size=2>ReportPaneView demo app -&nbsp;it properly do column sizing and use last column for external (form) resizing:</FONT><DIV><FONT color=#0000ff size=2><P>void</FONT><FONT size=2> CReportPaneViewView::OnInitialUpdate() {</P><P>CXTPReportView::OnInitialUpdate();</P><P>CString columnStr;</P><P></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2> (</FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> i = 0; i &lt; COL_NUMBER; i++) {</P><P>columnStr.Format(</FONT><FONT color=#a31515 size=2>"Column %d"</FONT><FONT size=2>,i);</P><P>CXTPReportColumn* pCol = GetReportCtrl().AddColumn(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(i, columnStr, 60, FALSE,XTP_REPORT_NOICON,TRUE));</P><P>pCol-&gt;EnableResize(TRUE); }</P><P></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2> (</FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> j = 0; j &lt; ROW_NUMBER; j++)&nbsp; GetReportCtrl().AddRecord(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CReportViewRecord(j));</P><P>GetReportCtrl().Populate();</P><P>GetReportCtrl().GetReportHeader()-&gt;SetAutoColumnSizing(FALSE);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetColumnStyle(xtpReportColumnOffice2007);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetDrawGridForEmptySpace(TRUE);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetGridStyle(0, xtpReportGridSolid);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetGridStyle(1, xtpReportGridSolid);</P><P></P><P>GetReportCtrl().GetPaintManager()-&gt;SetHeaderRowsDividerStyle(xtpReportFixedRowsDividerBold);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetFooterRowsDividerStyle(xtpReportFixedRowsDividerBold);</P><P>GetReportCtrl().GetPaintManager()-&gt;m_clrHeaderRowsDivider = RGB(255,0,0);</P><P>GetReportCtrl().GetPaintManager()-&gt;m_clrFooterRowsDivider = RGB(0,0,255);</P><P>GetReportCtrl().AssignIconViewPropNumAndIconNum(-1, -1, TRUE, 20);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetLastColumnWidthWYSIWYG(TRUE);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetColumnWidthWYSIWYG(TRUE);</P><P>m_pPrintOptions-&gt;GetPageHeader()-&gt;m_strFormatString = </FONT><FONT color=#a31515 size=2>"Header text: &amp;p from &amp;P"</FONT><FONT size=2>;</P><P>m_pPrintOptions-&gt;GetPageFooter()-&gt;m_strFormatString = </FONT><FONT color=#a31515 size=2>"Footer text: &amp;D"</FONT><FONT size=2>;</P><P>GetReportCtrl().m_bForcePagination = TRUE;</P><P>GetReportCtrl().AllowEdit(TRUE);</P><P></FONT><FONT color=#008000 size=2>//GetReportCtrl().FocusSubItems(TRUE);</P></FONT><FONT size=2><P>GetReportCtrl().m_bSortedDragDrop = TRUE;</P><P>GetReportCtrl().GetPaintManager()-&gt;SetHeaderRowsDividerStyle(xtpReportFixedRowsDividerBold);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetFooterRowsDividerStyle(xtpReportFixedRowsDividerBold);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetDrawGridForEmptySpace(TRUE);</P><P>GetReportCtrl().GetPaintManager()-&gt;SetFreezeColsDividerStyle(xtpReportFreezeColsDividerThin | xtpReportFreezeColsDividerShowAlways);</P><P>GetReportCtrl().GetColumns()-&gt;GetFirstVisibleColumn()-&gt;SetAutoSize(FALSE);</P><P>GetReportCtrl().RedrawControl();</P><P>GetReportCtrl().GetReportHeader()-&gt;SetLastColumnExpand(TRUE, TRUE);</P><P>}</P></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 26 Oct 2009 19:52:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54209&amp;title=solved-crash-bug-in-13-2#54209</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Crash bug in 13.2 : Check new demo in your prev. post...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54206&amp;title=solved-crash-bug-in-13-2#54206</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15444<br /><strong>Posted:</strong> 26 October 2009 at 6:48pm<br /><br />Check new demo in your prev. post <a href="https://forum.codejock.com/forum_posts.asp?TID=15075" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=15075</A>&nbsp;where I put a link to my new&nbsp;prototype with special last column mode - looks similar to your task]]>
   </description>
   <pubDate>Mon, 26 Oct 2009 18:48:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54206&amp;title=solved-crash-bug-in-13-2#54206</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Crash bug in 13.2 : Try for now call this function...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54205&amp;title=solved-crash-bug-in-13-2#54205</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15444<br /><strong>Posted:</strong> 26 October 2009 at 6:32pm<br /><br />Try for now call this function after checking <DIV>if (<FONT size=2><FONT size=2>GetReportCtrl().<FONT size=2>GetColumns()</FONT></FONT>-&gt;GetLastVisibleColumn() != NULL) .... </FONT></DIV><DIV><FONT size=2>I will put this check inside the code.</DIV></FONT>]]>
   </description>
   <pubDate>Mon, 26 Oct 2009 18:32:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54205&amp;title=solved-crash-bug-in-13-2#54205</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Crash bug in 13.2 :  Unfortunately, SetLastColumnExpand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54139&amp;title=solved-crash-bug-in-13-2#54139</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15444<br /><strong>Posted:</strong> 24 October 2009 at 11:53am<br /><br /><p>Unfortunately, SetLastColumnExpand is too buggy in its current state.</p><div>1) When there are no columns in a report control, the function crashes at XTPReportHeader.cpp(2044).</div><div>GetLastVisibleColumn() returns NULL:</div><div>m_pColumns-&gt;GetLastVisibleColumn()-&gt;SetAutoSize(TRUE);</div><div>&nbsp;</div><div>2) When the control is resized, the report rows are not updated. It seems the GUI is never refreshed after this operation.</div><div>&nbsp;</div><div>3) There is no descriptive comment for this function in the header file.</div><div>&nbsp;</div><div>&nbsp;</div><div>#2 is absolutely crucial, so I'll wait till next version :(</div><div>&nbsp;</div><div>&nbsp;</div><div><strong>Tried your sample again, and got the same error as described: </strong></div><div><strong></strong>&nbsp;</div><div><strong><img src="https://forum.codejock.com/uploads/20091027_112647_error.JPG" border="0" /></strong></div><div><strong></strong>&nbsp;</div><div>It seems you don't handle scrolling properly...</div>]]>
   </description>
   <pubDate>Sat, 24 Oct 2009 11:53:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15444&amp;PID=54139&amp;title=solved-crash-bug-in-13-2#54139</guid>
  </item> 
 </channel>
</rss>