<?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 : [QUESTION] FreezeColumnCount divider repositioning</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [QUESTION] FreezeColumnCount divider repositioning]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 14:52:20 +0000</pubDate>
  <lastBuildDate>Sat, 21 Feb 2009 11:41:00 +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=11830</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[[QUESTION] FreezeColumnCount divider repositioning : Hi, Aaron, FixedColumnsAbs it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45716&amp;title=question-freezecolumncount-divider-repositioning#45716</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 11830<br /><strong>Posted:</strong> 21 February 2009 at 11:41am<br /><br />Hi, Aaron, FixedColumnsAbs it essentially the property of&nbsp;one and only one THE&nbsp;COLUMN to be always presented and visible. Any columns left of this - extra info but not critical and can be move in and out of left report part. If you hide or drag'n drop to group this&nbsp;COLUMN - all feature cancel and you need to start fixed column assignment again because you break logic of valid information always presented row-based. May be we need to cancel Hide or Drag'n Drop operation with this COLUMN and force it to BE ALWAYS PRESENTED?<DIV>If&nbsp;Not FixedColumnsAbs - report&nbsp;always show given number of left columns and you can change columns in left part free. </DIV>]]>
   </description>
   <pubDate>Sat, 21 Feb 2009 11:41:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45716&amp;title=question-freezecolumncount-divider-repositioning#45716</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] FreezeColumnCount divider repositioning : Hi Mark,  I tried this with new...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45711&amp;title=question-freezecolumncount-divider-repositioning#45711</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11830<br /><strong>Posted:</strong> 21 February 2009 at 10:18am<br /><br /><P>Hi Mark, </P><DIV>I tried <strong>this</strong> with new OCX... and a few things that doesn't work / don't understand:</DIV><DIV>&nbsp;</DIV><OL><LI><strong>When column gets invisible, the same index as divider is, the divider will disappear and won't show again when column becoming visible again.</strong></LI><LI>Correct if I'm wrong about this: When dragging column, with the divider next to it, to another position and also divider will be repositioned. The way I see the feature (FreezeColumnsCount) is to have columns which always would be in <strong>that</strong> position I want to and users can not change that. Also when scrolling horizontal the columns will be scrolled from divider position.&nbsp;The FreezeColsDivider is to show the user that and in combination with FreezeColumnsCount I can accomplish that. So what is the use of repositioning the divider if you drag column somewhere. Maybe you can give me a sample of how to use this and maybe I understand better.</LI></OL><DIV></DIV>Thank you<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 21 Feb 2009 10:18:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45711&amp;title=question-freezecolumncount-divider-repositioning#45711</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] FreezeColumnCount divider repositioning : uploads/20090220_232105_ReportSampleSat.rar   Ihave...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45613&amp;title=question-freezecolumncount-divider-repositioning#45613</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 11830<br /><strong>Posted:</strong> 18 February 2009 at 9:23pm<br /><br /><a href="https://forum.codejock.com/uploads/20090220_232105_ReportSampleSat.rar" target="_blank">uploads/20090220_232105_ReportSampleSat.rar</A><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I&nbsp;have a progress with this problem. In stable for show-hide columns and&nbsp;drag-drop columns reordering including Group Row in and out. </DIV><DIV>&nbsp;</DIV><DIV>The static version of sample I attached show all recently added features - fixs for drawing,&nbsp;minimum width and&nbsp;scroll autoadjust.</DIV><DIV>&nbsp;</DIV><DIV>I can attached Debug version of OCX but not sure everybody has Microsoft Debug dll set</DIV>]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 21:23:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45613&amp;title=question-freezecolumncount-divider-repositioning#45613</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] FreezeColumnCount divider repositioning : Hi Mark,  Here&amp;#039;s test project...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45554&amp;title=question-freezecolumncount-divider-repositioning#45554</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11830<br /><strong>Posted:</strong> 17 February 2009 at 8:11am<br /><br />Hi Mark,<DIV>&nbsp;</DIV><DIV>Here's test project <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;Makes it easier for you to test.</DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20090217_081037_TestDivider.zip" target="_blank">uploads/20090217_081037_TestDivider.zip</A></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 17 Feb 2009 08:11:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45554&amp;title=question-freezecolumncount-divider-repositioning#45554</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] FreezeColumnCount divider repositioning : Hi Mark,  Some of the membersalready...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45537&amp;title=question-freezecolumncount-divider-repositioning#45537</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11830<br /><strong>Posted:</strong> 17 February 2009 at 1:51am<br /><br />Hi Mark,<DIV>&nbsp;</DIV><DIV>Some of the members&nbsp;already had to fix this in code... I will get messy when you just fix this...</DIV><DIV>&nbsp;</DIV><DIV>So if you are going to fix this I propose you create a property for this, you have already:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20090217_014553_FreezeColsDivid.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Just add <strong>xtpReportFreezeColsDividerAutoReposition</strong> and we are all happy (the ones who already fixed this in code and want to keep it and the ones who don't have it will use <U>xtpReportFreezeColsDividerAutoReposition = True <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></U></DIV><DIV><U></U>&nbsp;</DIV><DIV>Thanks a lot</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 17 Feb 2009 01:51:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45537&amp;title=question-freezecolumncount-divider-repositioning#45537</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] FreezeColumnCount divider repositioning : I check the topic. The problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45527&amp;title=question-freezecolumncount-divider-repositioning#45527</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 11830<br /><strong>Posted:</strong> 16 February 2009 at 5:37pm<br /><br /><P>I check the topic. The problem in the fact that code use <FONT size=2>m_nFreezeColumnsCount as relative position of divider&nbsp;does not matter which columns are on left and which on right side.&nbsp;</FONT></P><P><FONT size=2>You can fix it on app level - e.g. in menu handler for show - hide column: (this is from MFC ReportSample - ReportSampleView but VB code is similar - for frmMain)</FONT></P><FONT size=2><FONT size=2><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (nMenuResult &gt;= ID_COLUMN_SHOW)</P><DIV>{</DIV><P>CXTPReportColumn* pCol = pColumns-&gt;GetAt(nMenuResult - ID_COLUMN_SHOW);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pCol)</P><P>{</P><P>BOOL bVis = pCol-&gt;IsVisible();</P><P>pCol-&gt;SetVisible(!bVis);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (bVis)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (GetReportCtrl().GetFreezeColumnsCount() &gt; nMenuResult - ID_COLUMN_SHOW)</P><P>GetReportCtrl().SetFreezeColumnsCount(GetReportCtrl().GetFreezeColumnsCount() - 1);</P><P>}</P><P></FONT><FONT color=#0000ff size=2>else</P></FONT><FONT size=2><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (GetReportCtrl().GetFreezeColumnsCount() &gt; nMenuResult - ID_COLUMN_SHOW)</P><P>GetReportCtrl().SetFreezeColumnsCount(GetReportCtrl().GetFreezeColumnsCount() + 1);</P><P>}</P><P>}</P><P>}</P><DIV></DIV>Now I don't know - should I change existed behaviour which also have sense for some situation? Or keep fix on app level?</FONT></FONT> ]]>
   </description>
   <pubDate>Mon, 16 Feb 2009 17:37:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45527&amp;title=question-freezecolumncount-divider-repositioning#45527</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] FreezeColumnCount divider repositioning : You right - I also expect that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45524&amp;title=question-freezecolumncount-divider-repositioning#45524</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 11830<br /><strong>Posted:</strong> 16 February 2009 at 2:32pm<br /><br />You right - I also expect that if I hide one of Freezed column - divider will move to left. This is a bug. Will fix it.]]>
   </description>
   <pubDate>Mon, 16 Feb 2009 14:32:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=45524&amp;title=question-freezecolumncount-divider-repositioning#45524</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] FreezeColumnCount divider repositioning : Hi,   When hiding a column with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=39883&amp;title=question-freezecolumncount-divider-repositioning#39883</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11830<br /><strong>Posted:</strong> 14 August 2008 at 4:38pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>When hiding a column with index less than FreezeColumnsCount the divider will stay on the same position. I would expect that the divider would be repositioned as well. </DIV><DIV>&nbsp;</DIV><DIV>Thanks&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 14 Aug 2008 16:38:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11830&amp;PID=39883&amp;title=question-freezecolumncount-divider-repositioning#39883</guid>
  </item> 
 </channel>
</rss>