<?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 : SOLVED: Scrollbar Event</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : SOLVED: Scrollbar Event]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 03:28:14 +0000</pubDate>
  <lastBuildDate>Tue, 10 Jun 2008 10:50:18 +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=10894</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[SOLVED: Scrollbar Event : Good job Aaron. Thank you. But,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36498&amp;title=solved-scrollbar-event#36498</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2416">ElvisM</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 10 June 2008 at 10:50am<br /><br /><P>Good job Aaron.</P><P>Thank you.</P><P>But, is very very necessary that the Codejock includes the mergecell option into the reportcontrol. This is a&nbsp;critical feature. And is very usefull for the programmers.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 10 Jun 2008 10:50:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36498&amp;title=solved-scrollbar-event#36498</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Scrollbar Event : Hi,   You could add CJ labels...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36483&amp;title=solved-scrollbar-event#36483</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 10 June 2008 at 4:54am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>You could add CJ labels and set MarkUp.Enabled = true</DIV><DIV>and have the labels like this:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080610_045034_Labels.JPG" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Private Function SetMarkupLabels(lbl As XtremeSuiteControls.Label)<BR></DIV><DIV>lbl.Caption = _<BR>"&lt;Border xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'" &amp; _<BR>&nbsp;&nbsp;&nbsp; "VerticalAlignment='Center' HorizontalAlignment='Center' BorderThickness='1' BorderBrush='#767676' MinHeight='" &amp; lbl.Height / Screen.TwipsPerPixelY &amp; "' MinWidth='" &amp; lbl.Width / Screen.TwipsPerPixelX &amp; "'&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;Border.Background&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;LinearGradientBrush StartPoint='0,0' EndPoint='0,1'&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;GradientStop Color='white' Offset='0.0'/&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;GradientStop Color='lightblue' Offset='1.0'/&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;/LinearGradientBrush&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;/Border.Background&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;StackPanel&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;TextBlock HorizontalAlignment='center' Foreground='Black' FontSize='16' FontWeight='Bold' FontFamily='Tahoma' Text='" &amp; lbl.ToolTipText &amp; "'/&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;/StackPanel&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp; "&lt;/Border&gt;"<BR>&nbsp;&nbsp;&nbsp; <BR>End Function</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>There are a lot of (visual) options when doing it like this. I just put it together to give you an idea. The text in the label is the&nbsp;tooltiptext of the label</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 10 Jun 2008 04:54:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36483&amp;title=solved-scrollbar-event#36483</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Scrollbar Event : aaron, thank you a lot!!! This...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36360&amp;title=solved-scrollbar-event#36360</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2416">ElvisM</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 06 June 2008 at 11:41am<br /><br />aaron, thank you a lot!!!<DIV>This work!!!!</DIV><DIV>&nbsp;</DIV><DIV>Regards.</DIV>]]>
   </description>
   <pubDate>Fri, 06 Jun 2008 11:41:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36360&amp;title=solved-scrollbar-event#36360</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Scrollbar Event : Hi,   Of course we don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36284&amp;title=solved-scrollbar-event#36284</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 05 June 2008 at 1:27am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Of course we don't need Subclassing <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20080605_022416_TestColumns.zip" target="_blank">uploads/20080605_022416_TestColumns.zip</A></DIV><DIV><a href="https://forum.codejock.com/uploads/20080605_012739_TestColumns.zip" target="_blank"></A>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Maybe it needs a little tuning for your needs <img src="https://forum.codejock.com/smileys/smiley17.gif" border="0">&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 05 Jun 2008 01:27:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36284&amp;title=solved-scrollbar-event#36284</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Scrollbar Event : Hi, this is the screenshot. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36280&amp;title=solved-scrollbar-event#36280</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2416">ElvisM</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 04 June 2008 at 5:17pm<br /><br /><P>Hi, this is the screenshot.<img src="https://forum.codejock.com/uploads/20080604_171734_Scrollbar.jpg" border="0"></P>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 17:17:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36280&amp;title=solved-scrollbar-event#36280</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Scrollbar Event :   jpbro wrote:Oh subclassing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36275&amp;title=solved-scrollbar-event#36275</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 04 June 2008 at 2:56pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />Oh subclassing is not so bad once you get used to it ;)</td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Yeah right, subclassing is also inheriting the&nbsp;monday morning implementations <img src="https://forum.codejock.com/smileys/smiley8.gif" border="0">&nbsp;I let CJ do the subclassing and&nbsp;if there's something not working as expected then I will use the issue tracker <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 14:56:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36275&amp;title=solved-scrollbar-event#36275</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Scrollbar Event : Oh subclassing is not so bad once...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36274&amp;title=solved-scrollbar-event#36274</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 04 June 2008 at 2:36pm<br /><br />Oh subclassing is not so bad once you get used to it ;)]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 14:36:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36274&amp;title=solved-scrollbar-event#36274</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Scrollbar Event :   jpbro wrote:Here&amp;#039;s a sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36270&amp;title=solved-scrollbar-event#36270</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 04 June 2008 at 2:06pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />Here's a sample that subclasses the child window of the ReporControl to capture WM_HSCROLL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Good luck!<BR></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi, and Good luck you will need <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Think you are better of with my option (at least try it first)</DIV><DIV>&nbsp;</DIV><DIV>Elvis, give me at least a screenshot of what you are trying to do</DIV>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 14:06:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36270&amp;title=solved-scrollbar-event#36270</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Scrollbar Event : Here&amp;#039;s a sample that subclasses...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36262&amp;title=solved-scrollbar-event#36262</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 04 June 2008 at 1:54pm<br /><br />Here's a sample that subclasses the child window of the ReporControl tocapture WM_HSCROLL (horizontal scroll) messages. It doesn't do much(just notifies you that the horizontal scrollbar position has changed by printing "HORIZONTAL SCROLL" to the debug window),so you will have to do some additional work.<br><br><br><a href="uploads/20080604_135002_SubclassReportC.zip" target="_blank">uploads/20080604_135002_SubclassReportC.zip</a><br><br><b>IMPORTANT NOTE ABOUT SUBCLASSING:</b> If you set a breakpoint in your code (or press Ctrl+Break) while a control is subclassed, you will likely crash your entire VB IDE and lose all your work, so make sure to SAVE OFTEN! This is just a demonstration of the technique, but I highly recommend you use a safe subclassing control (or roll your own by compiling the code into a DLL). There's a good one for free here:<br><br><a href="http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp" target="_blank">http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp</a><br><br>And you can see in this example how they get more detailed information about the scrollbar position/scroll direction:<br><br><a href="http://www.vbaccelerator.com/home/Vb/Code/C&#111;ntrols/S_Grid/VB6_Full_Source_Code_zip_cScrollBars_cls.asp" target="_blank">http://www.vbaccelerator.com/home/Vb/Code/Controls/S_Grid/VB6_Full_Source_Code_zip_cScrollBars_cls.asp</a><br><br>Good luck!<br>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 13:54:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36262&amp;title=solved-scrollbar-event#36262</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Scrollbar Event : Hi,  Can you upload a sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36254&amp;title=solved-scrollbar-event#36254</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10894<br /><strong>Posted:</strong> 04 June 2008 at 12:52pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Can you upload a sample project?</DIV>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 12:52:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10894&amp;PID=36254&amp;title=solved-scrollbar-event#36254</guid>
  </item> 
 </channel>
</rss>