<?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 : ContScroll()</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : ContScroll()]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 25 May 2026 22:13:59 +0000</pubDate>
  <lastBuildDate>Tue, 15 Oct 2024 10:58:53 +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=24488</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[ContScroll() : Hello,24 version already released....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=79020&amp;title=contscroll#79020</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 24488<br /><strong>Posted:</strong> 15 October 2024 at 10:58am<br /><br /><div>Hello,</div><div><br></div><div>24 version already released. Can you check your problem with latest version.</div><div><br></div><div>Regards,</div><div>Artem Gontarenko<br></div>]]>
   </description>
   <pubDate>Tue, 15 Oct 2024 10:58:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=79020&amp;title=contscroll#79020</guid>
  </item> 
  <item>
   <title><![CDATA[ContScroll() : Hello,Unfortunately, to write...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78984&amp;title=contscroll#78984</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9054">Plamen.Petrov</a><br /><strong>Subject:</strong> 24488<br /><strong>Posted:</strong> 30 July 2024 at 7:42am<br /><br />Hello,<div><br></div><div>Unfortunately, to write a test application would take a couple of days - time which I don't have currently.&nbsp;</div><div><br></div><div>But you could check why in CXTPScrollBase::ContScroll(), when pSBTrack-&gt;fHitOld is TRUE, a timer is created which calls ContScroll() again - it might be possible to switch it off by a property or maybe flag:</div><div><br></div><div><div>void CXTPScrollBase::ContScroll()</div><div>{</div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>XTP_SCROLLBAR_TRACKINFO *pSBTrack = m_pSBTrack;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>ASSERT(pSBTrack);</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>if (pSBTrack == NULL)</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>return;</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>CPoint pt;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>GetCursorPos(&amp;pt);</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>ScreenToClient(m_pSBTrack-&gt;hWndTrack, &amp;pt);</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>TrackBox(WM_NULL, pt);</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>if (pSBTrack-&gt;fHitOld)</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>{</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>pSBTrack-&gt;hTimerSB = SetTimer(m_pSBTrack-&gt;hWndTrack, IDSYS_SCROLL, m_nTimerElapse = GetDoubleClickTime() / 10, NULL);</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>DoScroll(pSBTrack-&gt;cmdSB, 0);</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>}</span></div><div>}</div></div><div><br></div><div>Regards,</div><div>Plamen</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 30 Jul 2024 07:42:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78984&amp;title=contscroll#78984</guid>
  </item> 
  <item>
   <title><![CDATA[ContScroll() :     Hello,How I can to reproduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78983&amp;title=contscroll#78983</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 24488<br /><strong>Posted:</strong> 30 July 2024 at 2:46am<br /><br /><div ="msg">   <div>Hello,</div><div><br></div>How I can to reproduce this problem?<br><br><div>Regards,</div><div>Artem Gontarenko</div></div>]]>
   </description>
   <pubDate>Tue, 30 Jul 2024 02:46:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78983&amp;title=contscroll#78983</guid>
  </item> 
  <item>
   <title><![CDATA[ContScroll() : Hello,What happens is: the user...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78981&amp;title=contscroll#78981</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9054">Plamen.Petrov</a><br /><strong>Subject:</strong> 24488<br /><strong>Posted:</strong> 25 July 2024 at 10:06am<br /><br />Hello,<div><br></div><div>What happens is: the user works with a listview, showing huge amount of image thumnails, which are loaded dynamically - during scrolling the list. He starts scrolling down, clicks several times on the scrollbar and then releases the left mouse button. But then the list continues to scroll down without any user interaction.&nbsp;</div><div><br></div><div>I've already found it into the source code of the CodeJock SDK, setting a breakpoint into the our OnVScroll() handler - we handle&nbsp;OnNcLButtonDown(), where we set a flag on a click on the scrollbar, and OnVScroll() removes it after it handles the scroll.&nbsp;</div><div><br></div><div>So, the breakpoint is where the scroll comes without any click - then the stack shows, that the execution is into CodeJock's&nbsp;<str&#111;ng style="font-size: 11px;">ContScroll()</strong>&nbsp;- it creates a timer which triggers another WM_VSCROLL, etc...&nbsp;</div><div><br></div><div>Very complicated mechanism, which I've succeeded to stop - but the solution is a kind of a hack, so I'm wondering isn't it possible to switch it off somehow else.</div><div><br></div><div><span style=": rgb248, 248, 252;">Regards</span>,</div><div>Plamen</div><div><br></div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 25 Jul 2024 10:06:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78981&amp;title=contscroll#78981</guid>
  </item> 
  <item>
   <title><![CDATA[ContScroll() : Hello,Unfortunately it is not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78980&amp;title=contscroll#78980</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 24488<br /><strong>Posted:</strong> 25 July 2024 at 2:33am<br /><br /><div>Hello,</div><div><br></div><div>Unfortunately it is not clear what exactly is going wrong. Can you please provide more detailed information.</div><div>If it cannot be re-produced in any of our sample applications provided</div><div>I would appreciate you sending a sample application so that we could debug it.</div><div><br></div><div>17.2 is very old version. You can to try last Codejock 22.1 (or 24 beta) version, and may be this problem already resolved.</div><div><br></div><div>Regards,</div><div>Artem Gontarenko</div>]]>
   </description>
   <pubDate>Thu, 25 Jul 2024 02:33:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78980&amp;title=contscroll#78980</guid>
  </item> 
  <item>
   <title><![CDATA[ContScroll() : I&amp;#039;ve found a solution, looking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78976&amp;title=contscroll#78976</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9054">Plamen.Petrov</a><br /><strong>Subject:</strong> 24488<br /><strong>Posted:</strong> 19 July 2024 at 5:16am<br /><br />I've found a solution, looking into the SDK code. The Listview class sets a flag into the&nbsp;OnNcLButtonDown() handler, and the OnVScroll() removes this flag. When the OnVScroll()&nbsp;is called and this flag is not set, it calls the next function:<div><br></div><div>void EndAutoScroll(HWND hWnd)<br>{<br><div><span style="white-space: normal;"><span style="white-space:pre">	</span>CXTPSkinManager* pSM = XTPSkinManager();</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>if (!pSM)</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>return;</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>CXTPSkinObject* pSO = pSM-&gt;Lookup(hWnd);</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>if (!pSO)</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>return;</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>CXTPSkinObjectFrame* pOF = dynamic_cast&lt;CXTPSkinObjectFrame*&gt;(pSO);</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>if (!pOF)</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>return;</span></div><div><span style="white-space: pre; white-space: normal;">	</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>XTP_SKINSCROLLBAR_TRACKINFO* pSBTrack = pOF-&gt;GetScrollBarTrackInfo();</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>if (pSBTrack &amp;&amp; pSBTrack-&gt;hTimerSB)</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>{</span></div><div><span style="white-space: pre;">		</span>pSBTrack-&gt;cmdSB = 0;</div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>ReleaseCapture();</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>::KillTimer(hWnd,pSBTrack-&gt;hTimerSB);</span></div><div><br></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>pSBTrack-&gt;hTimerSB = 0;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">		</span>pSBTrack-&gt;hWndSBNotify = NULL;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>}</span></div></div><div><span style="white-space: normal;">}</span></div><div><span style="white-space: normal;"><br></span></div><div><span style="white-space: normal;">I'm not very happy with such hack - better would be to be possible to control such a feature so it could be switched off.</span></div><div><span style="white-space: normal;"><br></span></div>]]>
   </description>
   <pubDate>Fri, 19 Jul 2024 05:16:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78976&amp;title=contscroll#78976</guid>
  </item> 
  <item>
   <title><![CDATA[ContScroll() : Hello,We integrate CodeJock&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78975&amp;title=contscroll#78975</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9054">Plamen.Petrov</a><br /><strong>Subject:</strong> 24488<br /><strong>Posted:</strong> 17 July 2024 at 10:19am<br /><br />Hello,<div><br></div><div>We integrate <b>CodeJock's Xtreme ToolkitPro v17.2.0</b> into an old MFC product, and now our client complains, that it happens, that the ListView scrolls sometimes without click on the scrollbar. The user clicks once, but then the scroll starts and doesn't end until the cursor moves outside the scroll bar.</div><div><br></div><div>We make a breakpoint into the OnVScroll() handler and find, that in these case the stack shows, that we are into the method&nbsp;CXTPSkinObjectFrame::ContScroll().&nbsp;</div><div><br></div><div>Unfortunatelly, we can find how to switch off this feature. Is there a flag, option or any other way to prevent such unwanted auto scroll?</div><div><br></div><div>Thanks,</div><div>Plamen</div>]]>
   </description>
   <pubDate>Wed, 17 Jul 2024 10:19:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24488&amp;PID=78975&amp;title=contscroll#78975</guid>
  </item> 
 </channel>
</rss>