<?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 : CXTPControlScrollBar::OnScroll Bug</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPControlScrollBar::OnScroll Bug]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:32:02 +0000</pubDate>
  <lastBuildDate>Thu, 13 Aug 2009 03:15:21 +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=14958</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[CXTPControlScrollBar::OnScroll Bug : OK, well done:)  Just make sure...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14958&amp;PID=51922&amp;title=cxtpcontrolscrollbaronscroll-bug#51922</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 14958<br /><strong>Posted:</strong> 13 August 2009 at 3:15am<br /><br />OK, well done:)<DIV>&nbsp;</DIV><DIV>Just make sure you add a member function so that the page size can be set.</DIV><DIV>&nbsp;</DIV><DIV>I'll be upgrading later this year...</DIV>]]>
   </description>
   <pubDate>Thu, 13 Aug 2009 03:15:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14958&amp;PID=51922&amp;title=cxtpcontrolscrollbaronscroll-bug#51922</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlScrollBar::OnScroll Bug : Guess it was fixed already. Here...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14958&amp;PID=51917&amp;title=cxtpcontrolscrollbaronscroll-bug#51917</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14958<br /><strong>Posted:</strong> 13 August 2009 at 1:53am<br /><br />Guess it was fixed already. Here code we have now:<DIV>&nbsp;</DIV><DIV>switch (nSBCode)<BR>&nbsp;{<BR>&nbsp;&nbsp;case SB_TOP: nCurPos = m_nMin; break;<BR>&nbsp;&nbsp;case SB_BOTTOM: nCurPos = m_nMax; break;</DIV><DIV>&nbsp;&nbsp;case SB_LINEUP: nCurPos = max(nCurPos - 1, m_nMin); break;<BR>&nbsp;&nbsp;case SB_LINEDOWN: nCurPos = min(nCurPos + 1, m_nMax); break;</DIV><DIV>&nbsp;&nbsp;case SB_THUMBTRACK: nCurPos = nPos; break;<BR>&nbsp;&nbsp;case SB_PAGEUP: nCurPos = max(nCurPos - m_nMax / 10, m_nMin); break;<BR>&nbsp;&nbsp;case SB_PAGEDOWN: nCurPos = min(nCurPos + m_nMax / 10, m_nMax); break;<BR>&nbsp;}<BR></DIV>]]>
   </description>
   <pubDate>Thu, 13 Aug 2009 01:53:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14958&amp;PID=51917&amp;title=cxtpcontrolscrollbaronscroll-bug#51917</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlScrollBar::OnScroll Bug : Hi All,  With 12.0.1 there&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14958&amp;PID=51902&amp;title=cxtpcontrolscrollbaronscroll-bug#51902</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 14958<br /><strong>Posted:</strong> 12 August 2009 at 3:47pm<br /><br /><DIV>Hi All,</DIV><DIV>&nbsp;</DIV><DIV>With 12.0.1 there's a bug in void CXTPControlScrollBar::OnScroll(UINT nSBCode, UINT nPos), you are not using m_nMin in the switch statement <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"><BR></DIV><DIV>I've created my own class from CXTPControlScrollBar but I'm sure you'll want to fix this (if you haven't already).</DIV><DIV>&nbsp;</DIV><DIV>While you're at it you may want to add a member function to set m_nPage <img src="http://forum.codejock.com/smileys/smiley20.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Wed, 12 Aug 2009 15:47:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14958&amp;PID=51902&amp;title=cxtpcontrolscrollbaronscroll-bug#51902</guid>
  </item> 
 </channel>
</rss>