<?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 : HOWTO: Append one line of text</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : HOWTO: Append one line of text]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 05:42:41 +0000</pubDate>
  <lastBuildDate>Sat, 28 Mar 2015 17:33:05 +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=20653</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[HOWTO: Append one line of text : Hi Martin,Not sure if it is the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20653&amp;PID=73175&amp;title=howto-append-one-line-of-text#73175</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5104">DazMan</a><br /><strong>Subject:</strong> 20653<br /><strong>Posted:</strong> 28 March 2015 at 5:33pm<br /><br />Hi Martin,<div><br><div>Not sure if it is the fastest, but works</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div><div>// Get the last row in the Edit Control, add 1 for newly appended line</div></div><div><div>int iLastRowNo = m_pEditCtrl-&gt;GetRowCount() + 1;</div></div><div><div>// Add some test text to new Row</div></div><div><div>m_pEditCtrl-&gt;InsertRow(iLastRowNo, _T("This is a new row"), TRUE);</div></div><div><div>// Move to the newly inserted Row</div></div><div><div>m_pEditCtrl-&gt;GoToRow(iLastRowNo, FALSE);</div></div><div><div>// Position Caret to end of line, forcing it visible at same time</div></div><div><div>m_pEditCtrl-&gt;SetCurPos(iLastRowNo, m_pEditCtrl-&gt;GetLineText(iLastRowNo).GetLength() + 1);</div></div></blockquote><div><br></div><div>Cheers,</div><div>Daz</div></div>]]>
   </description>
   <pubDate>Sat, 28 Mar 2015 17:33:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20653&amp;PID=73175&amp;title=howto-append-one-line-of-text#73175</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Append one line of text : No ideas? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20653&amp;PID=71533&amp;title=howto-append-one-line-of-text#71533</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 20653<br /><strong>Posted:</strong> 22 August 2013 at 7:13am<br /><br />No ideas?<br>]]>
   </description>
   <pubDate>Thu, 22 Aug 2013 07:13:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20653&amp;PID=71533&amp;title=howto-append-one-line-of-text#71533</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Append one line of text :  Hi;I want to use the control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20653&amp;PID=69782&amp;title=howto-append-one-line-of-text#69782</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 20653<br /><strong>Posted:</strong> 01 March 2013 at 5:10am<br /><br />Hi;<br><br>I want to use the control as a logger output window for online tcp communication. So I'm looking for the fastes possible way to append a new line of text at the end of the control content buffer and ensure that this line is visible and selected.<br>Can anyone show me how to solve this.<br><br>Regards,&nbsp;]]>
   </description>
   <pubDate>Fri, 01 Mar 2013 05:10:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20653&amp;PID=69782&amp;title=howto-append-one-line-of-text#69782</guid>
  </item> 
 </channel>
</rss>