<?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 : Column sizing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Column sizing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 02:06:54 +0000</pubDate>
  <lastBuildDate>Thu, 29 Jul 2010 07:45:19 +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=16810</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[Column sizing : I think it is more nice to cal...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16810&amp;PID=59531&amp;title=column-sizing#59531</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 16810<br /><strong>Posted:</strong> 29 July 2010 at 7:45am<br /><br />I think it is more nice to call<br>m_wndReport.RedrawControl();]]>
   </description>
   <pubDate>Thu, 29 Jul 2010 07:45:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16810&amp;PID=59531&amp;title=column-sizing#59531</guid>
  </item> 
  <item>
   <title><![CDATA[Column sizing : Solved the problem by forcing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16810&amp;PID=58894&amp;title=column-sizing#58894</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5155">schwinn</a><br /><strong>Subject:</strong> 16810<br /><strong>Posted:</strong> 11 June 2010 at 8:24am<br /><br />Solved the problem by forcing a repaint<DIV>&nbsp;</DIV><DIV>m_wndReport.SendMessage(WM_PAINT, 0, 0);</DIV><DIV>&nbsp;</DIV><DIV>Believe the problem to be something to do with m_nMaxItemWidth</DIV>]]>
   </description>
   <pubDate>Fri, 11 Jun 2010 08:24:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16810&amp;PID=58894&amp;title=column-sizing#58894</guid>
  </item> 
  <item>
   <title><![CDATA[Column sizing : Hi  Really struggling here and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16810&amp;PID=58863&amp;title=column-sizing#58863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5155">schwinn</a><br /><strong>Subject:</strong> 16810<br /><strong>Posted:</strong> 09 June 2010 at 10:35am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>Really struggling here and dont know what I'm doing wrong. My report column is not setting the correct size. Let me explain...</DIV><DIV>&nbsp;</DIV><DIV>We have 2 related views in an application. We make changes in one view and it affects the&nbsp;other view, the results view. The results view is my report control, consisting of 39 columns of selectable results. By default we only have 6 selected. We dont want last column expanded, we want each column to be best fit or if the user has manually resized the column then that column stays that width.</DIV><DIV>&nbsp;</DIV><DIV>The results view has on activate code that;</DIV><DIV>1. ResetContent</DIV><DIV>2. Put the rows of data into all the columns.</DIV><DIV>3. Populate.</DIV><DIV>4. I then iterate each column each column and do GetReportHeader()-&gt;BestFit(pCol), unless the column has been manually sized.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>My Problem.</DIV><DIV>1. Make changes in the first view, lets say make a text string long.</DIV><DIV>2. Switch to the results view.</DIV><DIV>3. Select the column to make visible (the column that has a long text string)</DIV><DIV>4. Problem...the column is now wide enough for the data, it shows ... on the string.</DIV><DIV>5. I switch back to the other view and switch back again to the results view and the column is now wide enough, the ... has gone.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Can anyone tell me why this happening, why im getting the .... I want it to be the correct width to start with</DIV><DIV>&nbsp;</DIV><DIV>Thanks for any help</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 09 Jun 2010 10:35:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16810&amp;PID=58863&amp;title=column-sizing#58863</guid>
  </item> 
 </channel>
</rss>