<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Scrolling a C# RichTextbox when adding text</title>
	<atom:link href="http://bitmatic.com/c/scrolling-a-c-richtextbox-when-adding-text/feed" rel="self" type="application/rss+xml" />
	<link>http://bitmatic.com/c/scrolling-a-c-richtextbox-when-adding-text</link>
	<description>Lean IT-solutions in .NET/C#</description>
	<lastBuildDate>Thu, 19 Jan 2012 08:45:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Jakob</title>
		<link>http://bitmatic.com/c/scrolling-a-c-richtextbox-when-adding-text/comment-page-1#comment-26</link>
		<dc:creator>Jakob</dc:creator>
		<pubDate>Fri, 09 Oct 2009 07:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://bitmatic.com/?p=258#comment-26</guid>
		<description>The ScrollToCaret() method only works if the control has focus. It also makes text-selection difficult.... :-)

So &lt;a href=&quot;http://bitmatic.com/csharp/implementing-a-scrolling-richtextbox&quot; rel=&quot;nofollow&quot;&gt;sending a WM_VSCROLL message&lt;/a&gt; will often be a better solution.</description>
		<content:encoded><![CDATA[<p>The ScrollToCaret() method only works if the control has focus. It also makes text-selection difficult&#8230;. <img src='http://bitmatic.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>So <a href="http://bitmatic.com/csharp/implementing-a-scrolling-richtextbox" rel="nofollow">sending a WM_VSCROLL message</a> will often be a better solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duggie</title>
		<link>http://bitmatic.com/c/scrolling-a-c-richtextbox-when-adding-text/comment-page-1#comment-27</link>
		<dc:creator>Duggie</dc:creator>
		<pubDate>Thu, 24 Sep 2009 03:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://bitmatic.com/?p=258#comment-27</guid>
		<description>Nah,
I prefer the above although do the whole call in one void

private void writeToStatusWindow(string textToBeWritten)
{
    rchTxtBxSTATUS.AppendText(textToBeWritten);
    rchTxtBxSTATUS.SelectionStart = rchTxtBxSTATUS.Text.Length;
    rchTxtBxSTATUS.ScrollToCaret();
}

just set the max length of your rich text box if youre running tests for days or months or you will blow your memory</description>
		<content:encoded><![CDATA[<p>Nah,<br />
I prefer the above although do the whole call in one void</p>
<p>private void writeToStatusWindow(string textToBeWritten)<br />
{<br />
    rchTxtBxSTATUS.AppendText(textToBeWritten);<br />
    rchTxtBxSTATUS.SelectionStart = rchTxtBxSTATUS.Text.Length;<br />
    rchTxtBxSTATUS.ScrollToCaret();<br />
}</p>
<p>just set the max length of your rich text box if youre running tests for days or months or you will blow your memory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob</title>
		<link>http://bitmatic.com/c/scrolling-a-c-richtextbox-when-adding-text/comment-page-1#comment-25</link>
		<dc:creator>Jakob</dc:creator>
		<pubDate>Sun, 10 May 2009 17:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://bitmatic.com/?p=258#comment-25</guid>
		<description>This is a quick and dirty solution to the autoscroll problem. A more elegant solution is outlined &lt;a href=&quot;http://bitmatic.com/csharp/implementing-a-scrolling-richtextbox&quot; rel=&quot;nofollow&quot;&gt;in this post&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>This is a quick and dirty solution to the autoscroll problem. A more elegant solution is outlined <a href="http://bitmatic.com/csharp/implementing-a-scrolling-richtextbox" rel="nofollow">in this post</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

