<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Text an letzter Caret Position einfügen ...]]></title><description><![CDATA[<p>Hallo erst ein Mal!</p>
<p>Ich möchte eine Funktion erstellen in der man auf einen Button klickt und der<br />
in einem RichEdit einen Text einfügt und dieser Text soll an der letzten Position des Caret eingefügt werden.</p>
<p>Danke schon mal!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/87389/text-an-letzter-caret-position-einfügen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Jul 2026 11:17:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/87389.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Sep 2004 15:38:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Text an letzter Caret Position einfügen ... on Wed, 29 Sep 2004 15:38:43 GMT]]></title><description><![CDATA[<p>Hallo erst ein Mal!</p>
<p>Ich möchte eine Funktion erstellen in der man auf einen Button klickt und der<br />
in einem RichEdit einen Text einfügt und dieser Text soll an der letzten Position des Caret eingefügt werden.</p>
<p>Danke schon mal!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/617215</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/617215</guid><dc:creator><![CDATA[Major-Hork]]></dc:creator><pubDate>Wed, 29 Sep 2004 15:38:43 GMT</pubDate></item><item><title><![CDATA[Reply to Text an letzter Caret Position einfügen ... on Wed, 29 Sep 2004 18:40:04 GMT]]></title><description><![CDATA[<p>Major-Hork schrieb:</p>
<blockquote>
<p>dieser Text soll an der letzten Position des Caret eingefügt werden.</p>
</blockquote>
<p>Was bedeutet das? Soll der Text jetzt an der Position des Caret (an der Cursor-Position) eingefügt werden?<br />
Oder am Ende des bisherigen Textes? Oder am Ende der Zeile? Oder sonstwo?</p>
<p>Gruß,</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/post/617414</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/617414</guid><dc:creator><![CDATA[Alexander Kempf]]></dc:creator><pubDate>Wed, 29 Sep 2004 18:40:04 GMT</pubDate></item><item><title><![CDATA[Reply to Text an letzter Caret Position einfügen ... on Thu, 30 Sep 2004 08:12:08 GMT]]></title><description><![CDATA[<p>Also ich habe es in einem TEdit so gemacht :</p>
<pre><code>oldPos = eIrcAwayMsg-&gt;SelStart;
eIrcAwayMsg-&gt;Text = eIrcAwayMsg-&gt;Text.Insert(Text,eIrcAwayMsg-&gt;SelStart+1);
eIrcAwayMsg-&gt;SelStart = eIrcAwayMsg-&gt;SelStart + oldPos + Text.Length();
</code></pre>
<p>1. ich merke mir die aktuelle Cursor Posi<br />
2. Ich füge Text an dieser Postion ein<br />
3. ich setze den Cursor ans Ende des eingefügten Textes</p>
<p>Hoffe es hilft dir weiter</p>
<p>Foxy</p>
]]></description><link>https://www.c-plusplus.net/forum/post/617719</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/617719</guid><dc:creator><![CDATA[Fox-Alpha]]></dc:creator><pubDate>Thu, 30 Sep 2004 08:12:08 GMT</pubDate></item><item><title><![CDATA[Reply to Text an letzter Caret Position einfügen ... on Thu, 30 Sep 2004 17:46:23 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">RichEdit-&gt;SelText = &quot;bla&quot;;
</code></pre>
<p>Fertig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/618261</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/618261</guid><dc:creator><![CDATA[ghost_hal]]></dc:creator><pubDate>Thu, 30 Sep 2004 17:46:23 GMT</pubDate></item><item><title><![CDATA[Reply to Text an letzter Caret Position einfügen ... on Fri, 01 Oct 2004 12:36:25 GMT]]></title><description><![CDATA[<p>Danke Fox-Alpha für deine Hilfe hat funktioniert!<br />
Und an die anderen auch!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/618799</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/618799</guid><dc:creator><![CDATA[Major Hork]]></dc:creator><pubDate>Fri, 01 Oct 2004 12:36:25 GMT</pubDate></item></channel></rss>