<?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 : Smooth vertical scrolling</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Smooth vertical scrolling]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 06:48:15 +0000</pubDate>
  <lastBuildDate>Thu, 30 Jun 2016 17:35:47 +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=13423</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[Smooth vertical scrolling : improvement of virtual mode performance...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=74850&amp;title=smooth-vertical-scrolling#74850</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 30 June 2016 at 5:35pm<br /><br /><a href="http://forum.codejock.com/forum_posts.asp?TID=23068" rel="nofollow">improvement of virtual mode performance</a>]]>
   </description>
   <pubDate>Thu, 30 Jun 2016 17:35:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=74850&amp;title=smooth-vertical-scrolling#74850</guid>
  </item> 
  <item>
   <title><![CDATA[Smooth vertical scrolling : &amp;#034;Free Height Mode&amp;#034; means...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=74072&amp;title=smooth-vertical-scrolling#74072</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 29 October 2015 at 4:08pm<br /><br />"Free Height Mode" &nbsp;means that you can set height of rows to any value. And of course this will prevent to recalculation height of rows in redrawing.<br><br>Scrolling<br>&nbsp;-&gt; redraws Report<br>&nbsp; &nbsp;-&gt; recalcs height of rows<br>&nbsp; &nbsp; &nbsp; -&gt;calls GetRowHeightEx()&nbsp;<br><br>CXTPReportPaintManager::GetRowHeightEx() &nbsp;just&nbsp; return &nbsp;pRow-&gt;m_nFreeHeight &nbsp;in free height mode. In other case method recalc height.<br><br>Yes, you need to properly calculate height of every record, but once. To do this you can use algorithm from CXTPReportControl::GetRowsHeight() method.<table width="99%"><tr><td><pre class="BBcode">nRowsHeight += GetPaintManager()-&gt;GetRowHeight(&amp;dc, pRows-&gt;GetAt(i), nTotalWidth);</pre></td></tr></table>change with<table width="99%"><tr><td><pre class="BBcode">CXTPReportRow* pRow = pRows-&gt;GetAt(i);<br>		if (pRow &amp;&amp; pRow-&gt;GetRecord())<br>			pRow-&gt;GetRecord()-&gt;m_nFreeHeight = GetPaintManager()-&gt;GetRowHeight(&amp;dc, pRow, nTotalWidth);<br></pre></td></tr></table>to save properly height<br>&nbsp;&nbsp;<br>]]>
   </description>
   <pubDate>Thu, 29 Oct 2015 16:08:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=74072&amp;title=smooth-vertical-scrolling#74072</guid>
  </item> 
  <item>
   <title><![CDATA[Smooth vertical scrolling : Hello olebed,Thank you for looking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=74071&amp;title=smooth-vertical-scrolling#74071</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 29 October 2015 at 1:10pm<br /><br />Hello olebed,<br><br>Thank you for looking at this.&nbsp; I know you folks must be very busy working on new release.<br><br>Ordinarily I do not use&nbsp; wndReport.m_bFreeHeightMode = TRUE. I use the default of FALSE.<br><br>I tested it briefly. It produced report control line items that did not adjust line height to the cell content properly. Word wrap failed to work. It proved unsuitable.<br><br><div ="Element207">I'm not clear on what free height mode actually means though. CJ help says "Flag to set RC Free Height Mode" <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" /><br><br>If the rows are fixed height, I can see how scroll performance would be improved since the bottleneck seems to be in refactoring row heights.<br></div><br>]]>
   </description>
   <pubDate>Thu, 29 Oct 2015 13:10:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=74071&amp;title=smooth-vertical-scrolling#74071</guid>
  </item> 
  <item>
   <title><![CDATA[Smooth vertical scrolling : Hi Algae,Do you use  wndReport.m_bFreeHeightMode...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=74069&amp;title=smooth-vertical-scrolling#74069</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 29 October 2015 at 5:59am<br /><br />Hi Algae,<br><br>Do you use &nbsp; wndReport.m_bFreeHeightMode = TRUE ?<br><br>(Sorry, I'm not having enough time to explore performance of Report Control now. But I remember about it&nbsp; and sometimes I can notice some things.)<br>]]>
   </description>
   <pubDate>Thu, 29 Oct 2015 05:59:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=74069&amp;title=smooth-vertical-scrolling#74069</guid>
  </item> 
  <item>
   <title><![CDATA[Smooth vertical scrolling : Sorry, no. I have not tried FixedRowHeight.The...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73673&amp;title=smooth-vertical-scrolling#73673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 21 July 2015 at 3:59pm<br /><br />Sorry, no. I have not tried FixedRowHeight.<br><br>The row heights have to be variable for my purpose since record item content may vary widely from one record to another. For instance a "Note" item might consist of 1 line of text or &gt; 20. <br>]]>
   </description>
   <pubDate>Tue, 21 Jul 2015 15:59:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73673&amp;title=smooth-vertical-scrolling#73673</guid>
  </item> 
  <item>
   <title><![CDATA[Smooth vertical scrolling : Algae, have you tried wndRepor...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73672&amp;title=smooth-vertical-scrolling#73672</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 21 July 2015 at 3:46pm<br /><br /><strong>Algae</strong>, have you tried wndReport.GetPaintManager()-&gt;SetFixedRowHeight(TRUE) ?&nbsp;]]>
   </description>
   <pubDate>Tue, 21 Jul 2015 15:46:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73672&amp;title=smooth-vertical-scrolling#73672</guid>
  </item> 
  <item>
   <title><![CDATA[Smooth vertical scrolling : Hi Oleksandr,Using:Version 16.26...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73671&amp;title=smooth-vertical-scrolling#73671</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 21 July 2015 at 3:36pm<br /><br />Hi Oleksandr,<br><br>Using:<br><br>Version 16.26 with the exception of XTPTreebase.cpp from 15.3.1 since there were too many problems with later revisions. <br><br>I've also tried versions 16.3.1 and 16.4.<br><br>Static build. C++.&nbsp; Visual Studio 2010.<br><br>Honestly, I can see why it's slow. The source appears to do lots and lots of required rect computations. The more records there are the slower it gets. I did not try virtual mode since it doesn't support the "grouping" feature which I require.<br>]]>
   </description>
   <pubDate>Tue, 21 Jul 2015 15:36:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73671&amp;title=smooth-vertical-scrolling#73671</guid>
  </item> 
  <item>
   <title><![CDATA[Smooth vertical scrolling : Hello Algae,What version of ToolkitPro...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73670&amp;title=smooth-vertical-scrolling#73670</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 21 July 2015 at 3:06pm<br /><br />Hello Algae,<br><br>What version of ToolkitPro do you use? &nbsp;Also write ActiveX or C++ version ?<br><br>Regards,<br>&nbsp;Oleksandr Lebed<br>]]>
   </description>
   <pubDate>Tue, 21 Jul 2015 15:06:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73670&amp;title=smooth-vertical-scrolling#73670</guid>
  </item> 
  <item>
   <title><![CDATA[Smooth vertical scrolling : Any hope of improving the performance...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73337&amp;title=smooth-vertical-scrolling#73337</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 27 April 2015 at 8:10pm<br /><br />Any hope of improving the performance of Report Control "Vertical Smooth Scrolling"?<br><br>I set:<br><br>wndReport.SetScrollMode(xtpReportOrientationAll,xtpReportScrollModeSmooth);<br><br>My program became unstable/unusable (time out crash on populate) with a large dataset. I believe the problem has existed for a decade or so. <img src="http://forum.codejock.com/smileys/smiley3.gif" border="0" alt="Shocked" title="Shocked" /><br><br>It would be nice to have a smooth vertical scroll since a column that exceeds the view area becomes inaccessible to the end user. This can be a pretty dramatic failure when the program runs in a dialog frame window or on a tiny tablet type computer.<br><br>Thanks for listening. I hope that the feature can be made usable.<br>]]>
   </description>
   <pubDate>Mon, 27 Apr 2015 20:10:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=73337&amp;title=smooth-vertical-scrolling#73337</guid>
  </item> 
  <item>
   <title><![CDATA[Smooth vertical scrolling :   I asked about this feature...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=45997&amp;title=smooth-vertical-scrolling#45997</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13423<br /><strong>Posted:</strong> 28 February 2009 at 2:44am<br /><br />I asked about this feature too... :(<br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> Main reason why it won't be changed is perfomance.</td></tr></table><br><img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Sat, 28 Feb 2009 02:44:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13423&amp;PID=45997&amp;title=smooth-vertical-scrolling#45997</guid>
  </item> 
 </channel>
</rss>