<?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[Editboxbuffer in String kopieren ?]]></title><description><![CDATA[<p>Hallo Leutz,<br />
wollte nur mal fragen wie man den Inhalt einer Editbox in einen String kopiert? Hab n Tutorial wo mir nicht ganz klar wird wie das funktioniert ... Mein Quellcode:</p>
<pre><code class="language-cpp">hEdit = CreateWindowEx(WS_EX_CLIENTEDGE,
                                   &quot;edit&quot;,
                                   buffer,    // &lt;- das ist der Inhalt der Editfelds
                                   WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE |
                                              ES_AUTOVSCROLL,
                                   0, 0, 0, 0,
                                   hWnd,
                                   NULL,
                                   ((LPCREATESTRUCT) lParam) -&gt; hInstance,
                                   NULL);
</code></pre>
<p>Ein einfaches Bsp. würde mir genügen ^- ThX ! MFG:</p>
<p>n()()bi</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/111480/editboxbuffer-in-string-kopieren</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 05:44:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/111480.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Jun 2005 14:32:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Editboxbuffer in String kopieren ? on Wed, 01 Jun 2005 14:32:33 GMT]]></title><description><![CDATA[<p>Hallo Leutz,<br />
wollte nur mal fragen wie man den Inhalt einer Editbox in einen String kopiert? Hab n Tutorial wo mir nicht ganz klar wird wie das funktioniert ... Mein Quellcode:</p>
<pre><code class="language-cpp">hEdit = CreateWindowEx(WS_EX_CLIENTEDGE,
                                   &quot;edit&quot;,
                                   buffer,    // &lt;- das ist der Inhalt der Editfelds
                                   WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE |
                                              ES_AUTOVSCROLL,
                                   0, 0, 0, 0,
                                   hWnd,
                                   NULL,
                                   ((LPCREATESTRUCT) lParam) -&gt; hInstance,
                                   NULL);
</code></pre>
<p>Ein einfaches Bsp. würde mir genügen ^- ThX ! MFG:</p>
<p>n()()bi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/800478</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/800478</guid><dc:creator><![CDATA[n()()bi]]></dc:creator><pubDate>Wed, 01 Jun 2005 14:32:33 GMT</pubDate></item><item><title><![CDATA[Reply to Editboxbuffer in String kopieren ? on Wed, 01 Jun 2005 14:44:28 GMT]]></title><description><![CDATA[<p>GetWindowText()</p>
]]></description><link>https://www.c-plusplus.net/forum/post/800481</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/800481</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Wed, 01 Jun 2005 14:44:28 GMT</pubDate></item><item><title><![CDATA[Reply to Editboxbuffer in String kopieren ? on Wed, 01 Jun 2005 20:56:36 GMT]]></title><description><![CDATA[<p>... oder GetDlgItemText()</p>
]]></description><link>https://www.c-plusplus.net/forum/post/800676</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/800676</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 01 Jun 2005 20:56:36 GMT</pubDate></item><item><title><![CDATA[Reply to Editboxbuffer in String kopieren ? on Tue, 07 Jun 2005 18:32:16 GMT]]></title><description><![CDATA[<p>Mmmmh weiss nicht, funktioniert irgendwie nicht ?! Er gibt mir nichts zurück:</p>
<pre><code class="language-cpp">...
            hEdit = CreateWindowEx(WS_EX_CLIENTEDGE,
                                   &quot;edit&quot;,
                                   buffer,    // &lt;- das ist der Inhalt der Editfelds
                                   WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE |
                                              ES_AUTOVSCROLL,
                                   0, 0, 0, 0,
                                   hWnd,
                                   NULL,
                                   ((LPCREATESTRUCT) lParam) -&gt; hInstance,
                                   NULL);

...

char* Abc;
GetWindowText(hEdit, Abc, 100);

...
</code></pre>
<p>Hmmm ?! Was mache ich falsch? ThX dass ihr euch Zeit genommen habt!<br />
MFG:<br />
n()()bi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/804601</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/804601</guid><dc:creator><![CDATA[n()()bi]]></dc:creator><pubDate>Tue, 07 Jun 2005 18:32:16 GMT</pubDate></item><item><title><![CDATA[Reply to Editboxbuffer in String kopieren ? on Tue, 07 Jun 2005 18:56:03 GMT]]></title><description><![CDATA[<p>Probier mal:</p>
<pre><code class="language-cpp">char *Abc = new char[100];
GetWindowText(hEdit, Abc, 100);
</code></pre>
<p>oder</p>
<pre><code class="language-cpp">char Abc[100];
GetWindowText(hEdit, Abc, 100);
</code></pre>
<p>Weiß nicht ob es daran liegt, aber du könntest es ja mal versuchen...<br />
(lass mich gern korrigieren)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/804620</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/804620</guid><dc:creator><![CDATA[Dago]]></dc:creator><pubDate>Tue, 07 Jun 2005 18:56:03 GMT</pubDate></item></channel></rss>