<?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 : markup + horizontal scrolling</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : markup + horizontal scrolling]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 21:42:53 +0000</pubDate>
  <lastBuildDate>Sun, 09 Aug 2009 23:41:00 +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=14899</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[markup + horizontal scrolling : Here&amp;#039;s a sample image that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51796&amp;title=markup-horizontal-scrolling#51796</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 09 August 2009 at 11:41pm<br /><br />Here's a sample image that shows the chopped scroll thumb problem:<br><br><img src="uploads/20090809_233958_scrollchop.jpg" height="664" width="829" border="0"><br><br>This is a problem in Vista, seems okay in Win2K, not sure about XP (can anyone confirm for XP)?<br><br>Thanks.<br>]]>
   </description>
   <pubDate>Sun, 09 Aug 2009 23:41:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51796&amp;title=markup-horizontal-scrolling#51796</guid>
  </item> 
  <item>
   <title><![CDATA[markup + horizontal scrolling : I think you need to explicitly...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51793&amp;title=markup-horizontal-scrolling#51793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 09 August 2009 at 8:02pm<br /><br />I think you need to explicitly declare the width of your TextBox, and set the TextWrapping attribute to Wrap. If you put that in a ScrollViewer with the HorizontalScrollBarVisibility='Auto' attribute set, you will only see a horizontal scrollbar when the width of the Markup window &lt; the width of your TextBox. Something like:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&lt;ScrollViewer HorizontalScrollBarVisibility='Auto'&gt;<br>&nbsp;&nbsp;&nbsp; &lt;TextBlock Width='400px' TextWrapping='Wrap'&gt;<br>&nbsp;&nbsp;&nbsp; This is a test of really long text to make sure that it wraps at 400px, but to also ensure that the horizontal scrollbar will not appear unless needed!<br>&nbsp;&nbsp;&nbsp; &lt;/TextBlock&gt;<br>&lt;/ScrollViewer&gt;<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Sun, 09 Aug 2009 20:02:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51793&amp;title=markup-horizontal-scrolling#51793</guid>
  </item> 
  <item>
   <title><![CDATA[markup + horizontal scrolling : Still some bugs in it.  Relating...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51792&amp;title=markup-horizontal-scrolling#51792</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 09 August 2009 at 7:48pm<br /><br />Still some bugs in it.<br /><br />Relating to TextBlock elements.  If you have a large textblock, and put it inside a ScrollViewer, and set horizontal scrolling to auto, then the text block presumes it has infinite width, and won't wrap.  It then forces any border around it to be too big etc.<br /><br />I want to do some text that will always just wrap to the width of the actual screen it's in, but when the screen gets smaller than say 400px, it will start scrolling horizontally at that point.<br /><br />]]>
   </description>
   <pubDate>Sun, 09 Aug 2009 19:48:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51792&amp;title=markup-horizontal-scrolling#51792</guid>
  </item> 
  <item>
   <title><![CDATA[markup + horizontal scrolling : thanks! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51791&amp;title=markup-horizontal-scrolling#51791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 09 August 2009 at 6:42pm<br /><br />thanks!]]>
   </description>
   <pubDate>Sun, 09 Aug 2009 18:42:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51791&amp;title=markup-horizontal-scrolling#51791</guid>
  </item> 
  <item>
   <title><![CDATA[markup + horizontal scrolling : Add a HorizontalScrollBarVisibility=&amp;#039;Auto&amp;#039;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51786&amp;title=markup-horizontal-scrolling#51786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 09 August 2009 at 12:19pm<br /><br />Add a HorizontalScrollBarVisibility='Auto' attribute to your ScrollViewer:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ScrollViewer Width = "100" Height="100" Margin="4" HorizontalScrollBarVisibility='Auto'&gt;<br></pre></td></tr></table><br><br>And you should see the horizontal scrollbar.<br><br>On a semi-related note to CJ though - try using Adrien's XAML with my modification and you will see that the scroll thumb bitmap gets chopped off at the right edge (this happens when the thumb gets small due to wide objects in ScrollViewer). Any chance of a fix for this?<br>]]>
   </description>
   <pubDate>Sun, 09 Aug 2009 12:19:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51786&amp;title=markup-horizontal-scrolling#51786</guid>
  </item> 
  <item>
   <title><![CDATA[markup + horizontal scrolling : &amp;lt;Grid xmlns=&amp;#039;http://sc...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51755&amp;title=markup-horizontal-scrolling#51755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 07 August 2009 at 7:41pm<br /><br />&lt;Grid xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'<br />TextElement.FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;Border&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ScrollViewer Width = "100" Height="100" Margin="4"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;StackPanel Orientation="Horizontal" Background="Gold"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RadioButton Content="Item 1"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RadioButton Content="Item 2"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RadioButton Content="Item 3"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RadioButton Content="Item 4"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RadioButton Content="Item 5"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RadioButton Content="Item 6"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RadioButton Content="Item 7"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RadioButton Content="Item 8"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RadioButton Content="Item 9"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/StackPanel&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ScrollViewer&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/Border&gt;<br />&lt;/Grid&gt;<br /><br />I've never been able to do anything that will get a scrollpanel to display a horizontal scrollbar, only vertical.]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 19:41:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51755&amp;title=markup-horizontal-scrolling#51755</guid>
  </item> 
  <item>
   <title><![CDATA[markup + horizontal scrolling : Hi, Please paste XAML you tried....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51685&amp;title=markup-horizontal-scrolling#51685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 07 August 2009 at 4:08am<br /><br />Hi,<DIV>Please paste XAML you tried.</DIV>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 04:08:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51685&amp;title=markup-horizontal-scrolling#51685</guid>
  </item> 
  <item>
   <title><![CDATA[markup + horizontal scrolling : this is even in MarkupPad.  It...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51653&amp;title=markup-horizontal-scrolling#51653</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 06 August 2009 at 11:35am<br /><br />this is even in MarkupPad.  It scrolls vertically but clips horizontally.  Can check with using MinWidth on something inside a scrollpanel.]]>
   </description>
   <pubDate>Thu, 06 Aug 2009 11:35:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51653&amp;title=markup-horizontal-scrolling#51653</guid>
  </item> 
  <item>
   <title><![CDATA[markup + horizontal scrolling : Do you route events to markup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51628&amp;title=markup-horizontal-scrolling#51628</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 06 August 2009 at 12:38am<br /><br />Do you route events to markup with CXTPMarkupContext::OnWndMsg ?<DIV>&nbsp;</DIV><DIV>BOOL CMarkupStatic::OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)<BR>{<BR>&nbsp;// To Handle Hyperlinks:<BR>&nbsp;if (m_pUIElement)<BR>&nbsp;{<BR>&nbsp;&nbsp;CXTPMarkupContext::m_hContextWnd = m_hWnd;<BR>&nbsp;&nbsp;if (CXTPMarkupContext::OnWndMsg(m_pUIElement, message, wParam, lParam, pResult))<BR>&nbsp;&nbsp;&nbsp;return TRUE;<BR>&nbsp;}</DIV><DIV>&nbsp;return CStatic::OnWndMsg(message, wParam, lParam, pResult);<BR>}<BR></DIV>]]>
   </description>
   <pubDate>Thu, 06 Aug 2009 00:38:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51628&amp;title=markup-horizontal-scrolling#51628</guid>
  </item> 
  <item>
   <title><![CDATA[markup + horizontal scrolling : Hi all  I can get vertical scrolling...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51562&amp;title=markup-horizontal-scrolling#51562</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 14899<br /><strong>Posted:</strong> 03 August 2009 at 10:29pm<br /><br />Hi all<br /><br />I can get vertical scrolling working fine with a scrollview (?) element, but can't get any vertical scrolling.  It doesn't matter what sort of child element is inside it.<br /><br />I can understand if you've got a vertical stackpanel, but for anything that does not resize horizontally (or has min width) this means you can't scroll to view it all.<br /><br />Is this a bug?<br /><br />Adrien]]>
   </description>
   <pubDate>Mon, 03 Aug 2009 22:29:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14899&amp;PID=51562&amp;title=markup-horizontal-scrolling#51562</guid>
  </item> 
 </channel>
</rss>