<?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] Markup Horizontal Scroll</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : MarkupLabel Control : [solved] Markup Horizontal Scroll]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 27 Apr 2026 04:26:01 +0000</pubDate>
  <lastBuildDate>Tue, 08 Mar 2016 08:45:59 +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=22953</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] Markup Horizontal Scroll :  Hello cpede,I&amp;#039;m glad to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22953&amp;PID=74557&amp;title=solved-markup-horizontal-scroll#74557</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 22953<br /><strong>Posted:</strong> 08 March 2016 at 8:45am<br /><br />Hello cpede,<br><br>I'm glad to inform you that the issue has already been addressed and fixed. The fix will be available in the next beta or final release.<br><br>As hot fix you can change file Source/Markup/Controls/XTPMarkupScrollBar.cpp &nbsp;and rebuild library.<br>in method CXTPMarkupScrollBar::HitTestScrollBar &nbsp;change&nbsp;last two "rcPart.left"&nbsp;to&nbsp; "rcPart.right"<br><br><table width="99%"><tr><td><pre class="BBcode">int CXTPMarkupScrollBar::HitTestScrollBar(POINT pt) const<br>{<br>....<br><br>&nbsp;&nbsp; rcPart.right = m_spi.rc.left + m_spi.pxThumbBottom; &nbsp; //&lt;&lt;&lt;&lt; there<br>&nbsp;&nbsp; if(PtInRectTransform(rcPart, pt))<br>&nbsp;&nbsp; {<br>&nbsp;&nbsp; &nbsp; htResult = XTP_HTSCROLLTHUMB;<br>&nbsp;&nbsp; &nbsp; break;<br>&nbsp;&nbsp; }<br>&nbsp;<br>&nbsp;&nbsp; rcPart.right = m_spi.rc.left + m_spi.pxDownArrow;&nbsp; &nbsp; //&lt;&lt;&lt;&lt; there <br>&nbsp;&nbsp; if(PtInRectTransform(rcPart, pt))<br>&nbsp;&nbsp; {<br>&nbsp; &nbsp; &nbsp;htResult = XTP_HTSCROLLDOWNPAGE;<br>&nbsp; &nbsp; &nbsp;break;<br>&nbsp;&nbsp; }<br>&nbsp; }<br>&nbsp;}<br>&nbsp;while(FALSE);<br>&nbsp;<br>&nbsp;return htResult;<br>}</pre></td></tr></table><br><br>Regards,<br>&nbsp;Oleksandr Lebed<br>]]>
   </description>
   <pubDate>Tue, 08 Mar 2016 08:45:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22953&amp;PID=74557&amp;title=solved-markup-horizontal-scroll#74557</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Markup Horizontal Scroll : I have problems with the horizontal...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22953&amp;PID=74556&amp;title=solved-markup-horizontal-scroll#74556</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 22953<br /><strong>Posted:</strong> 08 March 2016 at 7:10am<br /><br />I have problems with the horizontal scroll when using markup.<div><br></div><div>Specifying a ScrollViewer etc. in my code but it didn't work.</div><div><br></div><div>The I turned to the Markup ChartSample in the MarkupPad, and then I see the same problem.</div><div><br></div><div><img src="uploads/686/XTP_Markup_Scroll.png" height="361" width="440" border="0" /><br></div><div><br></div><div>Making the window small to create both horizontal and vertical scroll-bars, size they are set to Auto.</div><div>Here the vertical scroll works correctly, but the horizontal does not work.</div><div><br></div><div>Easy to see in the sample.</div><div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Tue, 08 Mar 2016 07:10:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22953&amp;PID=74556&amp;title=solved-markup-horizontal-scroll#74556</guid>
  </item> 
 </channel>
</rss>