<?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[Anfänge mit Forms]]></title><description><![CDATA[<p>Hallo<br />
ich habe heute damit angefangen mich mit forms zu beschäftigen.<br />
Jetzt habe folgendes vor.</p>
<p>Ich habe ein textfeld einen Button und ein Label. Wenn ich auf den Button klicke soll der geschriebene text in das label geschrieben werden</p>
<p>Freue mich über jede Antwort</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/163847/anfänge-mit-forms</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Jul 2026 13:08:51 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/163847.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Nov 2006 13:19:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anfänge mit Forms on Thu, 02 Nov 2006 13:19:39 GMT]]></title><description><![CDATA[<p>Hallo<br />
ich habe heute damit angefangen mich mit forms zu beschäftigen.<br />
Jetzt habe folgendes vor.</p>
<p>Ich habe ein textfeld einen Button und ein Label. Wenn ich auf den Button klicke soll der geschriebene text in das label geschrieben werden</p>
<p>Freue mich über jede Antwort</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1166966</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1166966</guid><dc:creator><![CDATA[Mike²]]></dc:creator><pubDate>Thu, 02 Nov 2006 13:19:39 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänge mit Forms on Thu, 02 Nov 2006 13:22:41 GMT]]></title><description><![CDATA[<p>Windows Form?<br />
Oder MFC?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1166968</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1166968</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Thu, 02 Nov 2006 13:22:41 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänge mit Forms on Thu, 02 Nov 2006 13:24:33 GMT]]></title><description><![CDATA[<p>Ich weiß jetzt nicht was MFC sind?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1166971</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1166971</guid><dc:creator><![CDATA[Mike²]]></dc:creator><pubDate>Thu, 02 Nov 2006 13:24:33 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänge mit Forms on Thu, 02 Nov 2006 13:31:08 GMT]]></title><description><![CDATA[<p>&quot;Microsoft Foundation Classes&quot; - wurde von MS als Wrapper um die WinAPI-Funktionen entworfen.</p>
<p>(Der Unterschied ist hauptsächlich in der dahinterliegenden Sprache: Visual C++ verwendet die MFC, .NET Systeme (afaik) Windows Forms)</p>
<p>OK, hier ein Versuch, es für MFC zu erklären:<br />
Du legst dir im Klassenassistent eine Methode an, die den Button-Klick abfängt. Die besorgt sich dann über GetDlgItem() das Textfeld und das Label (alternativ kannst du für beides Membervariablen in deiner Dialogklasse definieren) und kann dann über GetWindowText() den Inhalt des Edit holen und per SetWindowText() weiterreichen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1166977</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1166977</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 02 Nov 2006 13:31:08 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänge mit Forms on Thu, 02 Nov 2006 14:04:13 GMT]]></title><description><![CDATA[<p>Doppel-Click auf den Button und dann darin folgendes schreiben:</p>
<pre><code class="language-cpp">this-&gt;label1-&gt;Text = this-&gt;textBox1-&gt;text;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1167010</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1167010</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 02 Nov 2006 14:04:13 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänge mit Forms on Thu, 02 Nov 2006 14:37:48 GMT]]></title><description><![CDATA[<p>ich denk mir er hat beim erstellen &quot;Windows Forms Application&quot; oder so aehnlich ausgewaehlt - entsprechend -&gt; kein MFC - falsches forum</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1167037</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1167037</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Thu, 02 Nov 2006 14:37:48 GMT</pubDate></item></channel></rss>