<?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 : SetAutoColumnSizing problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : SetAutoColumnSizing problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 00:05:59 +0000</pubDate>
  <lastBuildDate>Tue, 04 May 2010 06:34:23 +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=15075</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[SetAutoColumnSizing problem : What happened to the SetLastColumnExpand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=58310&amp;title=setautocolumnsizing-problem#58310</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 04 May 2010 at 6:34am<br /><br />What happened to the SetLastColumnExpand function? Will it be added in 14.x?]]>
   </description>
   <pubDate>Tue, 04 May 2010 06:34:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=58310&amp;title=setautocolumnsizing-problem#58310</guid>
  </item> 
  <item>
   <title><![CDATA[SetAutoColumnSizing problem : You can also prevent such action...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53309&amp;title=setautocolumnsizing-problem#53309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 21 September 2009 at 10:19am<br /><br />You can also prevent such action for last column is you don't want it]]>
   </description>
   <pubDate>Mon, 21 Sep 2009 10:19:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53309&amp;title=setautocolumnsizing-problem#53309</guid>
  </item> 
  <item>
   <title><![CDATA[SetAutoColumnSizing problem : Sure, but beware of user actions...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53308&amp;title=setautocolumnsizing-problem#53308</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 21 September 2009 at 10:12am<br /><br />Sure, but beware of user actions such as "Hide/show/move/remove column". If the last column is hidden, the second last column becomes the last one. So this setting must actively adapt to the column count/order!]]>
   </description>
   <pubDate>Mon, 21 Sep 2009 10:12:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53308&amp;title=setautocolumnsizing-problem#53308</guid>
  </item> 
  <item>
   <title><![CDATA[SetAutoColumnSizing problem : I packed this piece of code into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53207&amp;title=setautocolumnsizing-problem#53207</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 18 September 2009 at 2:34pm<br /><br />I packed this piece of code into <FONT color=#0000ff size=2>void</FONT><FONT size=2> CXTPReportHeader::SetLastColumnExpand(BOOL bLastColumnExpand, BOOL bLastColumnExpandKeep) function <DIV>&nbsp;</DIV><DIV>see result in same sample in main sample view - try to resize and also drag and drop last column on other place - </DIV><DIV>it will keep get all resizing resources while other columns keep same width</DIV><DIV>&nbsp;</DIV><DIV>Fresh code - <a href="https://forum.codejock.com/uploads/DemoVersi&#111;n/ReportC&#111;ntrolMFCUpdated.rar" target="_blank">https://forum.codejock.com/uploads/DemoVersion/ReportControlMFCUpdated.rar</A></DIV><DIV>&nbsp;</DIV><DIV>beta-activex - <a href="https://forum.codejock.com/uploads/BetaOCX/ReportC&#111;ntrolBeta13-2.rar" target="_blank">https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar</A></DIV></FONT>]]>
   </description>
   <pubDate>Fri, 18 Sep 2009 14:34:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53207&amp;title=setautocolumnsizing-problem#53207</guid>
  </item> 
  <item>
   <title><![CDATA[SetAutoColumnSizing problem : This is assimple as possible -...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53203&amp;title=setautocolumnsizing-problem#53203</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 18 September 2009 at 2:09pm<br /><br />This is as&nbsp;simple as possible - check <a href="https://forum.codejock.com/uploads/DemoVersi&#111;n/ReportSampleStatic.rar" target="_blank">https://forum.codejock.com/uploads/DemoVersion/ReportSampleStatic.rar</A>&nbsp; <DIV>and inside rinning app use menu - Report Control - Control Test - Task List sample</DIV><DIV>&nbsp;</DIV><DIV>this is the code in the end of <FONT color=#0000ff size=2>int</FONT><FONT size=2> CTaskListView::OnCreate(LPCREATESTRUCT lpCreateStruct) function <P>.......................................................................................</FONT></P></DIV><DIV><FONT size=2><P>wndReport.Populate();</P><P>wndReport.SetFocus();</P></FONT><FONT color=#008000 size=2><P>//----------------------------------------------------------------------------</P></FONT><FONT size=2><P>wndReport.GetReportHeader()-&gt;SetAutoColumnSizing(FALSE);</P><P></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> nColumnsCount = wndReport.GetColumns()-&gt;GetCount(), nColumn;</P><P></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2> (nColumn = 0; nColumn &lt; nColumnsCount; nColumn++)</P><P>{</P><P>CXTPReportColumn* pColumn = wndReport.GetColumns()-&gt;GetAt(nColumn);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pColumn &amp;&amp; pColumn-&gt;IsVisible())</P><P>pColumn-&gt;SetAutoSize(FALSE);</P><P>}</P><P>wndReport.GetColumns()-&gt;GetLastVisibleColumn()-&gt;SetAutoSize(TRUE);</P><P>wndReport.GetReportHeader()-&gt;SetAutoColumnSizing(TRUE);</P></FONT><FONT color=#008000 size=2><P>//----------------------------------------------------------------------------</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> 0;</P><P>}</P><DIV></DIV>Please play now with this TaskListView - resize form and see reaction - all columns untouched and last one will take all possible space</FONT></DIV>]]>
   </description>
   <pubDate>Fri, 18 Sep 2009 14:09:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53203&amp;title=setautocolumnsizing-problem#53203</guid>
  </item> 
  <item>
   <title><![CDATA[SetAutoColumnSizing problem : Did Mark&amp;#039;s solution resolve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53195&amp;title=setautocolumnsizing-problem#53195</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 18 September 2009 at 12:40pm<br /><br />Did Mark's solution resolve your problem? ]]>
   </description>
   <pubDate>Fri, 18 Sep 2009 12:40:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53195&amp;title=setautocolumnsizing-problem#53195</guid>
  </item> 
  <item>
   <title><![CDATA[SetAutoColumnSizing problem : OK but what do you think about...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53041&amp;title=setautocolumnsizing-problem#53041</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 15 September 2009 at 3:52pm<br /><br />OK but what do you think about app I asked you to take a look?]]>
   </description>
   <pubDate>Tue, 15 Sep 2009 15:52:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53041&amp;title=setautocolumnsizing-problem#53041</guid>
  </item> 
  <item>
   <title><![CDATA[SetAutoColumnSizing problem : I really hope this feature gets...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53039&amp;title=setautocolumnsizing-problem#53039</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 15 September 2009 at 3:49pm<br /><br />I really hope this feature gets into 13.2 :)<DIV>I'm planning a big release with this version, and this is one of the remaining items I want to get fixed.</DIV>]]>
   </description>
   <pubDate>Tue, 15 Sep 2009 15:49:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53039&amp;title=setautocolumnsizing-problem#53039</guid>
  </item> 
  <item>
   <title><![CDATA[SetAutoColumnSizing problem : Good to hear.  I&amp;#039;ll play...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53024&amp;title=setautocolumnsizing-problem#53024</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 15 September 2009 at 3:10am<br /><br />Good to hear.<DIV>&nbsp;</DIV><DIV>I'll play a bit with your mod until then. Thanks.</DIV>]]>
   </description>
   <pubDate>Tue, 15 Sep 2009 03:10:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53024&amp;title=setautocolumnsizing-problem#53024</guid>
  </item> 
  <item>
   <title><![CDATA[SetAutoColumnSizing problem : You can try new demo apphttps:...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53001&amp;title=setautocolumnsizing-problem#53001</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15075<br /><strong>Posted:</strong> 14 September 2009 at 6:14pm<br /><br />You can try new demo app&nbsp;<a href="https://forum.codejock.com/uploads/DemoVersi&#111;n/ReportPaneViewTrackStaticMod.rar" target="_blank">https://forum.codejock.com/uploads/DemoVersion/ReportPaneViewTrackStaticMod.rar</A><DIV>&nbsp;</DIV><DIV>It show some extention or your case - e.g. first columns - fixed and you can resize this columns and scrollbar will react on this. Last column - autozised and grow or shrink with form. You can also resize rows (same as columns) - select row and use tracker (up-down)</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#000000>I still not implemented SetLastColumnExpand but hope to do it before oficial release</FONT></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 14 Sep 2009 18:14:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15075&amp;PID=53001&amp;title=setautocolumnsizing-problem#53001</guid>
  </item> 
 </channel>
</rss>