<?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 : Scrollbars don&#039;t work with many large columns</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Scrollbars don&#039;t work with many large columns]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 14:58:28 +0000</pubDate>
  <lastBuildDate>Fri, 08 May 2009 12:17:43 +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=14175</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[Scrollbars don&#039;t work with many large columns : Thanks,Sergio. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48810&amp;title=scrollbars-dont-work-with-many-large-columns#48810</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 08 May 2009 at 12:17pm<br /><br />Thanks,&nbsp;Sergio.]]>
   </description>
   <pubDate>Fri, 08 May 2009 12:17:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48810&amp;title=scrollbars-dont-work-with-many-large-columns#48810</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars don&#039;t work with many large columns : I never posted the ExpandAll()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48809&amp;title=scrollbars-dont-work-with-many-large-columns#48809</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2347">Sergio</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 08 May 2009 at 12:10pm<br /><br />I never posted the ExpandAll() query.<br /><br />It was someone else : https://forum.codejock.com/forum_posts.asp?TID=13445&KW=expandall<br /><br />I found the clue by myself.]]>
   </description>
   <pubDate>Fri, 08 May 2009 12:10:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48809&amp;title=scrollbars-dont-work-with-many-large-columns#48809</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars don&#039;t work with many large columns : For the first thread, I thought...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48797&amp;title=scrollbars-dont-work-with-many-large-columns#48797</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2347">Sergio</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 08 May 2009 at 6:08am<br /><br />For the first thread, I thought it was ended and closed. I will look and give you an answer soon.<br /><br /><br />For the second one, we solved it like that (I can't retrieve it too.) :<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BOOL COverridenXTPReportControl::FFullExpandAll()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//ExpandAll();&nbsp;&nbsp;&nbsp;&lt;--------&nbsp;&nbsp;&nbsp;22.03.2007 - Doesn't work properly (only one level is expanded)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTPReportRows* pRows = GetRows();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return TRUE;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return FALSE;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br /><br /><br />Regards,]]>
   </description>
   <pubDate>Fri, 08 May 2009 06:08:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48797&amp;title=scrollbars-dont-work-with-many-large-columns#48797</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars don&#039;t work with many large columns : it was 2 different threads - h...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48773&amp;title=scrollbars-dont-work-with-many-large-columns#48773</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 07 May 2009 at 2:52pm<br /><br />it was 2 different threads - <a href="http://forum.codejock.com/forum_posts.asp?TID=13387" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=13387</A> (about multi-selection) <DIV></DIV>and it was another thread about the problem with expand all function which not covered full deep of hierarchy but I can't find it now?<DIV></DIV>]]>
   </description>
   <pubDate>Thu, 07 May 2009 14:52:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48773&amp;title=scrollbars-dont-work-with-many-large-columns#48773</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars don&#039;t work with many large columns : Could you please give me the reference...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48764&amp;title=scrollbars-dont-work-with-many-large-columns#48764</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2347">Sergio</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 07 May 2009 at 12:39pm<br /><br />Could you please give me the reference of that post (the link) ?<br /><br />------<br /><br />Take a look in the Microsoft MSDN Library - Visual Studio 2008 - CWnd::OnHScroll(...), their example uses 32 bits values with correct implementation (look at the curpos variable).<br /><br />The new code will work as the previous one, but will just use a 32 bits value as input instead of 16 bits.<br /><br />Just do this kind of change to your code (do the same for OnVScroll(...)) :<br /><br /><br />Your code :<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;void CXTPReportControl::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (pScrollBar != NULL)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CWnd::OnHScroll(nSBCode, nPos, pScrollBar);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int nCurPos = m_nLeftOffset;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...<br /><br /><br /><br /><br />32 bits fix :<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;void CXTPReportControl::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (pScrollBar != NULL)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CWnd::OnHScroll(nSBCode, nPos, pScrollBar);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Use 32 bits scrollbar position instead of 16 bits - End<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nPos = GetScrollPos(SB_HORZ);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int nCurPos = m_nLeftOffset;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...<br /><br /><br />Hope you will agree now and see that you will have no further impacts.<br /><br />Regards,]]>
   </description>
   <pubDate>Thu, 07 May 2009 12:39:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48764&amp;title=scrollbars-dont-work-with-many-large-columns#48764</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars don&#039;t work with many large columns : In some moment you was interested...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48683&amp;title=scrollbars-dont-work-with-many-large-columns#48683</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 05 May 2009 at 5:47pm<br /><br />In some moment you was interested in Expand-Collapse action with all deep levels covered - I propose you to test current app but you did not try? ]]>
   </description>
   <pubDate>Tue, 05 May 2009 17:47:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48683&amp;title=scrollbars-dont-work-with-many-large-columns#48683</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars don&#039;t work with many large columns : Very good - if you make a simple...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48656&amp;title=scrollbars-dont-work-with-many-large-columns#48656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 05 May 2009 at 9:50am<br /><br />Very good - if you make a simple test case I can try it and if it properly supported any scroll size - we can use it in the Core - I should be sure that it will also works in ActiveX (e.g. for old VB6)]]>
   </description>
   <pubDate>Tue, 05 May 2009 09:50:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48656&amp;title=scrollbars-dont-work-with-many-large-columns#48656</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars don&#039;t work with many large columns : Ok, we will do your job and fix...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48653&amp;title=scrollbars-dont-work-with-many-large-columns#48653</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2347">Sergio</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 05 May 2009 at 9:00am<br /><br />Ok, we will do your job and fix your OnHScroll(...) & OnVScroll(...).<br /><br />Regards,]]>
   </description>
   <pubDate>Tue, 05 May 2009 09:00:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48653&amp;title=scrollbars-dont-work-with-many-large-columns#48653</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars don&#039;t work with many large columns : Right - I think our scroolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48607&amp;title=scrollbars-dont-work-with-many-large-columns#48607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 04 May 2009 at 11:05am<br /><br />Right - I think our scroolbar based on 16 bit restriction. I don't propose you to modify Core but make desired implementation on App level.]]>
   </description>
   <pubDate>Mon, 04 May 2009 11:05:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48607&amp;title=scrollbars-dont-work-with-many-large-columns#48607</guid>
  </item> 
  <item>
   <title><![CDATA[Scrollbars don&#039;t work with many large columns : I took a look at your code and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48606&amp;title=scrollbars-dont-work-with-many-large-columns#48606</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2347">Sergio</a><br /><strong>Subject:</strong> 14175<br /><strong>Posted:</strong> 04 May 2009 at 11:01am<br /><br />I took a look at your code and you should not use value "nPos" of the OnHScroll(...)/OnVScroll(...). This value is limited to 16 bits due to the Windows message.<br /><br />In the OnHScroll(...) & OnVScroll(...) methods, I think you just have to retrieve this value using the GetScrollInfo(...) which will give you a 32 bits value.<br /><br />We don't make this change because we don't want to have any conflicts with your future changes.<br /><br />Regards,]]>
   </description>
   <pubDate>Mon, 04 May 2009 11:01:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14175&amp;PID=48606&amp;title=scrollbars-dont-work-with-many-large-columns#48606</guid>
  </item> 
 </channel>
</rss>