<?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[Frage zur ListBox]]></title><description><![CDATA[<p>Ich habe eine ListBox mit der ID : IDC_FILES<br />
Wenn ich jetzt etwas (einen String z.B.) auswahle aus der Liste, wie kann ich das in einen String speicher ?</p>
<p>Welche Funktionen brauche ich ?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/156384/frage-zur-listbox</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Jul 2026 09:41:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/156384.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Aug 2006 10:46:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Frage zur ListBox on Wed, 16 Aug 2006 10:46:49 GMT]]></title><description><![CDATA[<p>Ich habe eine ListBox mit der ID : IDC_FILES<br />
Wenn ich jetzt etwas (einen String z.B.) auswahle aus der Liste, wie kann ich das in einen String speicher ?</p>
<p>Welche Funktionen brauche ich ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118201</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118201</guid><dc:creator><![CDATA[PhoeNix_FasT]]></dc:creator><pubDate>Wed, 16 Aug 2006 10:46:49 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zur ListBox on Wed, 16 Aug 2006 10:52:00 GMT]]></title><description><![CDATA[<p>Brauchst GetCurSel und GetText.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118204</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118204</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Wed, 16 Aug 2006 10:52:00 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zur ListBox on Wed, 16 Aug 2006 11:11:04 GMT]]></title><description><![CDATA[<p>Is das nich MFC ?</p>
<p>wie benutzte ich die Funktion in WinAPI ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118232</guid><dc:creator><![CDATA[PhoeNix_FasT]]></dc:creator><pubDate>Wed, 16 Aug 2006 11:11:04 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zur ListBox on Wed, 16 Aug 2006 11:18:41 GMT]]></title><description><![CDATA[<p>Sorry, hab nicht aufgepasst in welchem Forum wir sind <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /><br />
brauchst SendMessage mit den Nachrichten LB_GETCURSEL und LB_GETTEXT.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118241</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118241</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Wed, 16 Aug 2006 11:18:41 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zur ListBox on Wed, 16 Aug 2006 11:29:20 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">char sendbuf[MAX_PATH];

SendDlgItemMessage(phDlg[2],IDC_FILETREE,LB_GETCURSEL,0,0);
SendDlgItemMessage(phDlg[2],IDC_FILETREE,LB_GETTEXT,0,(LPARAM)sendbuf);
			  MessageBox(0,sendbuf,sendbuf,0);
</code></pre>
<p>Bekomme ich immer nur den ersten Wert.. warum ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118252</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118252</guid><dc:creator><![CDATA[PhoeNix_FasT]]></dc:creator><pubDate>Wed, 16 Aug 2006 11:29:20 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zur ListBox on Wed, 16 Aug 2006 11:34:46 GMT]]></title><description><![CDATA[<p>Du musst den Wert, den Du durch die Nachricht LB_GETCURSEL bekommst, merken und bei LB_GETTEXT als vorletzten Parameter mit übergeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118255</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118255</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Wed, 16 Aug 2006 11:34:46 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zur ListBox on Wed, 16 Aug 2006 11:37:57 GMT]]></title><description><![CDATA[<p>Ich versteh nich.. meinst du vielleicht</p>
<pre><code class="language-cpp">char buf[MAX_PATH];

SendDlgItemMessage(phDlg[2],IDC_FILETREE,LB_GETCURSEL,0,(LPARAM)buf);
SendDlgItemMessage(phDlg[2],IDC_FILETREE,LB_GETTEXT,0,(LPARAM)buf);
MessageBox(0,sendbuf,sendbuf,0);
</code></pre>
<p>So meinst du ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118258</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118258</guid><dc:creator><![CDATA[PhoeNix_FasT]]></dc:creator><pubDate>Wed, 16 Aug 2006 11:37:57 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zur ListBox on Wed, 16 Aug 2006 11:49:30 GMT]]></title><description><![CDATA[<p>so:</p>
<pre><code class="language-cpp">TCHAR buf[MAX_PATH];
int nSel = (int)SendDlgItemMessage( phDlg[2],IDC_FILETREE, LB_GETCURSEL, 0, 0 );
SendDlgItemMessage( phDlg[2],IDC_FILETREE, LB_GETTEXT, nSel, (WPARAM)buf );
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1118265</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118265</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Wed, 16 Aug 2006 11:49:30 GMT</pubDate></item></channel></rss>