<?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[ComboBox in Dialog ansprechen]]></title><description><![CDATA[<p>Hallo,<br />
ich habe eine Explorer-Anwendung erstellt (links Treeview, rechts Listview)<br />
Zum eingeben einiger Parameter habe ich nun einen Dialog erstellt.<br />
Leider kann ich die Komponenten darauf nicht ansprechen. Ich habe schon probiert mit dem Wizard eine Variable zu erstellen, dann kommt aber die Meldung &quot;Objekt erforderlich&quot;<br />
Wenn ich mit GetDlgItem(IDC_EDIT)-&gt;Text=&quot;Hallo&quot; versuche den Text zu setzen, kommt der Fehler, das &quot;text&quot; nicht &quot;CWnd&quot; gehört.<br />
Gibt es ein Tutorial oder sonstige Hilfe dazu?</p>
<p>Vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/142931/combobox-in-dialog-ansprechen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 13:59:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/142931.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Apr 2006 11:19:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ComboBox in Dialog ansprechen on Tue, 04 Apr 2006 11:19:41 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe eine Explorer-Anwendung erstellt (links Treeview, rechts Listview)<br />
Zum eingeben einiger Parameter habe ich nun einen Dialog erstellt.<br />
Leider kann ich die Komponenten darauf nicht ansprechen. Ich habe schon probiert mit dem Wizard eine Variable zu erstellen, dann kommt aber die Meldung &quot;Objekt erforderlich&quot;<br />
Wenn ich mit GetDlgItem(IDC_EDIT)-&gt;Text=&quot;Hallo&quot; versuche den Text zu setzen, kommt der Fehler, das &quot;text&quot; nicht &quot;CWnd&quot; gehört.<br />
Gibt es ein Tutorial oder sonstige Hilfe dazu?</p>
<p>Vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1030238</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1030238</guid><dc:creator><![CDATA[Originalhanno]]></dc:creator><pubDate>Tue, 04 Apr 2006 11:19:41 GMT</pubDate></item><item><title><![CDATA[Reply to ComboBox in Dialog ansprechen on Tue, 04 Apr 2006 11:21:35 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=18363" rel="nofollow">Jochen Kalmbach</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=58" rel="nofollow">C++/CLI mit .NET</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=1" rel="nofollow">MFC (Visual C++)</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1030241</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1030241</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 04 Apr 2006 11:21:35 GMT</pubDate></item><item><title><![CDATA[Reply to ComboBox in Dialog ansprechen on Tue, 04 Apr 2006 11:24:58 GMT]]></title><description><![CDATA[<p>Originalhanno schrieb:</p>
<blockquote>
<p>Hallo,<br />
ich habe eine Explorer-Anwendung erstellt (links Treeview, rechts Listview)<br />
Zum eingeben einiger Parameter habe ich nun einen Dialog erstellt.<br />
Leider kann ich die Komponenten darauf nicht ansprechen. Ich habe schon probiert mit dem Wizard eine Variable zu erstellen, dann kommt aber die Meldung &quot;Objekt erforderlich&quot;<br />
Wenn ich mit GetDlgItem(IDC_EDIT)-&gt;Text=&quot;Hallo&quot; versuche den Text zu setzen, kommt der Fehler, das &quot;text&quot; nicht &quot;CWnd&quot; gehört.<br />
Gibt es ein Tutorial oder sonstige Hilfe dazu?</p>
<p>Vielen Dank</p>
</blockquote>
<p>Also, hab auch nicht viel Plan von dem Thema, aber spontan würde mir einfallen:</p>
<pre><code class="language-cpp">SetDlgItemText(IDC_EDIT,&quot;Hallo&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1030243</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1030243</guid><dc:creator><![CDATA[strcat]]></dc:creator><pubDate>Tue, 04 Apr 2006 11:24:58 GMT</pubDate></item><item><title><![CDATA[Reply to ComboBox in Dialog ansprechen on Tue, 04 Apr 2006 11:26:35 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">GetDlgItem(IDC_EDIT)
</code></pre>
<p>Sieht aber nicht nach einer CComboBox sondern nach einer CEdit aus, oder?<br />
Ich empfehle Dir: Lege Control-Variablen für Deine Controls an, dann musst Du nicht mit &quot;GetDlgItem&quot; arbeiten und dann irgendwie casten... das führt nur zu Problemen...<br />
Zum setzen eines Textes verwendet man</p>
<pre><code class="language-cpp">CWnd::SetWindowText
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1030245</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1030245</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Tue, 04 Apr 2006 11:26:35 GMT</pubDate></item><item><title><![CDATA[Reply to ComboBox in Dialog ansprechen on Tue, 04 Apr 2006 11:26:42 GMT]]></title><description><![CDATA[<p>ok, danke.<br />
aber ich brauche eine Control, damit ich auch Elemente in meiner ComboBox dazufügen kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1030246</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1030246</guid><dc:creator><![CDATA[Originalhanno]]></dc:creator><pubDate>Tue, 04 Apr 2006 11:26:42 GMT</pubDate></item><item><title><![CDATA[Reply to ComboBox in Dialog ansprechen on Tue, 04 Apr 2006 11:28:41 GMT]]></title><description><![CDATA[<p>Hm, vielleicht hilft dir das hier weiter? <a href="http://www.coding-help.de/kombinationsfeld.html" rel="nofollow">http://www.coding-help.de/kombinationsfeld.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1030247</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1030247</guid><dc:creator><![CDATA[strcat]]></dc:creator><pubDate>Tue, 04 Apr 2006 11:28:41 GMT</pubDate></item></channel></rss>