<?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[LISTBOY]]></title><description><![CDATA[<p>Hi,</p>
<p>kann mir jemand erklären, warum der Inhalt meiner Listbox nicht in der Listbox erscheint. Warum sehe ich einfach nur ein weißes Kästechen???</p>
<pre><code class="language-cpp">hWndList.resize(hWndList.size()+2);

			hWndList[hWndList.size()-2]=CreateWindow(&quot;LISTBOX&quot;, &quot;&quot;, WS_CHILD|WS_VISIBLE|LBS_NODATA|LBS_MULTICOLUMN|LBS_NOTIFY, 20, static_cast&lt;int&gt;(hWndList.size()/2+20), 80, 15, hWnd, NULL, HANDLE, NULL);
			if(!hWndList[hWndList.size()-2])
				ERROR_WINAPI(&quot;hWndList[hWndList.size()-2]&quot;, -1);

			for(i=0;i&lt;3;i++)
			{
				if(SendMessage(hWndList[hWndList.size()-2], LB_ADDSTRING, 0, reinterpret_cast&lt;LPARAM&gt;(acpDescription[i]))&lt;0)
					ERROR_MESSAGE(&quot;SendMessage&quot;, -1);
			}

			SendMessage(hWndList[hWndList.size()-2], LB_SETCURSEL, 1, NULL);

			hWndList[hWndList.size()-1]=NULL;
</code></pre>
<p>Danke,</p>
<p>Listy</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/80146/listboy</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 02:52:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/80146.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Jul 2004 10:35:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LISTBOY on Sun, 18 Jul 2004 10:35:16 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>kann mir jemand erklären, warum der Inhalt meiner Listbox nicht in der Listbox erscheint. Warum sehe ich einfach nur ein weißes Kästechen???</p>
<pre><code class="language-cpp">hWndList.resize(hWndList.size()+2);

			hWndList[hWndList.size()-2]=CreateWindow(&quot;LISTBOX&quot;, &quot;&quot;, WS_CHILD|WS_VISIBLE|LBS_NODATA|LBS_MULTICOLUMN|LBS_NOTIFY, 20, static_cast&lt;int&gt;(hWndList.size()/2+20), 80, 15, hWnd, NULL, HANDLE, NULL);
			if(!hWndList[hWndList.size()-2])
				ERROR_WINAPI(&quot;hWndList[hWndList.size()-2]&quot;, -1);

			for(i=0;i&lt;3;i++)
			{
				if(SendMessage(hWndList[hWndList.size()-2], LB_ADDSTRING, 0, reinterpret_cast&lt;LPARAM&gt;(acpDescription[i]))&lt;0)
					ERROR_MESSAGE(&quot;SendMessage&quot;, -1);
			}

			SendMessage(hWndList[hWndList.size()-2], LB_SETCURSEL, 1, NULL);

			hWndList[hWndList.size()-1]=NULL;
</code></pre>
<p>Danke,</p>
<p>Listy</p>
]]></description><link>https://www.c-plusplus.net/forum/post/563061</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/563061</guid><dc:creator><![CDATA[LISTBOX]]></dc:creator><pubDate>Sun, 18 Jul 2004 10:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to LISTBOY on Sun, 18 Jul 2004 11:02:33 GMT]]></title><description><![CDATA[<p>Oh, ich sehe gerade, ich habe LISTBOY als Titel geschrieben. Das sollte natürlich LISTBOX heißen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/563075</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/563075</guid><dc:creator><![CDATA[LISTBOX]]></dc:creator><pubDate>Sun, 18 Jul 2004 11:02:33 GMT</pubDate></item><item><title><![CDATA[Reply to LISTBOY on Sun, 18 Jul 2004 11:51:03 GMT]]></title><description><![CDATA[<p>Problem gelöst. Es lag an einem Fehler beim Einfügen der Elemente.</p>
<p>Ciao,</p>
<p>Listbox</p>
]]></description><link>https://www.c-plusplus.net/forum/post/563089</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/563089</guid><dc:creator><![CDATA[LISTBOX]]></dc:creator><pubDate>Sun, 18 Jul 2004 11:51:03 GMT</pubDate></item></channel></rss>