<?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[Wie erstelle ich eine Listbox]]></title><description><![CDATA[<p>ich hab problem ein listbox hinzubekommen.</p>
<p>ich versuch derzeit so:</p>
<pre><code class="language-cpp">case WM_CREATE:
		hListBox = CreateWindowEx(NULL, L&quot;listbox&quot;,L&quot;&quot;, WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_OWNERDRAWFIXED,
					0, 0, 0, 0, hWnd, NULL, ((LPCREATESTRUCT)lParam)-&gt;hInstance, NULL);

	case WM_SIZE:
		MoveWindow(hListBox, 300, 300, 500, 600, true);
</code></pre>
<p>aber ich sehe gar nix, irgendwie scheint da was zu nicht zu funktionieren. und ich finde zum verrecken kein beispiel wie eine listbox in einem c++ programm anhand der winapi erstellt wird.</p>
<p>finde nur MFC beispiele die mich so nicht weiterbringe.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/182055/wie-erstelle-ich-eine-listbox</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Jul 2026 01:11:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/182055.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 20 May 2007 20:03:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie erstelle ich eine Listbox on Sun, 20 May 2007 20:03:58 GMT]]></title><description><![CDATA[<p>ich hab problem ein listbox hinzubekommen.</p>
<p>ich versuch derzeit so:</p>
<pre><code class="language-cpp">case WM_CREATE:
		hListBox = CreateWindowEx(NULL, L&quot;listbox&quot;,L&quot;&quot;, WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS | LBS_OWNERDRAWFIXED,
					0, 0, 0, 0, hWnd, NULL, ((LPCREATESTRUCT)lParam)-&gt;hInstance, NULL);

	case WM_SIZE:
		MoveWindow(hListBox, 300, 300, 500, 600, true);
</code></pre>
<p>aber ich sehe gar nix, irgendwie scheint da was zu nicht zu funktionieren. und ich finde zum verrecken kein beispiel wie eine listbox in einem c++ programm anhand der winapi erstellt wird.</p>
<p>finde nur MFC beispiele die mich so nicht weiterbringe.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1288716</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1288716</guid><dc:creator><![CDATA[Karanimi]]></dc:creator><pubDate>Sun, 20 May 2007 20:03:58 GMT</pubDate></item><item><title><![CDATA[Reply to Wie erstelle ich eine Listbox on Sun, 20 May 2007 21:24:38 GMT]]></title><description><![CDATA[<p>Liegen die Koordinaten denn innerhalb deines Fensters?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1288757</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1288757</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sun, 20 May 2007 21:24:38 GMT</pubDate></item><item><title><![CDATA[Reply to Wie erstelle ich eine Listbox on Sun, 20 May 2007 21:26:57 GMT]]></title><description><![CDATA[<p>Wie hast Du hListBox deklariert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1288759</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1288759</guid><dc:creator><![CDATA[keksekekse]]></dc:creator><pubDate>Sun, 20 May 2007 21:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to Wie erstelle ich eine Listbox on Mon, 21 May 2007 05:43:31 GMT]]></title><description><![CDATA[<p>ich glaub deine liste wird schon richtig erstellt - nur mit den koordinaten 0, 0, 0, 0 - daher siehst du es nicht {o;<br />
versuch mal eine richtige groesse anzugeben - zudem solltest du auch eine ID vergeben</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1288803</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1288803</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Mon, 21 May 2007 05:43:31 GMT</pubDate></item><item><title><![CDATA[Reply to Wie erstelle ich eine Listbox on Mon, 21 May 2007 06:13:15 GMT]]></title><description><![CDATA[<p>Mr Evil schrieb:</p>
<blockquote>
<p>ich glaub deine liste wird schon richtig erstellt - nur mit den koordinaten 0, 0, 0, 0 - daher siehst du es nicht {o;<br />
versuch mal eine richtige groesse anzugeben - zudem solltest du auch eine ID vergeben</p>
</blockquote>
<p>ah, ups ^^. danke.</p>
<p>wie kann ich den eine zeile unterteilen? würde gerne mehrer spalten nutzen, die ersteinformation soll z.b. eine ID sein und dann in der zweiten spalte eine vertextung der ID.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1288806</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1288806</guid><dc:creator><![CDATA[asdfsdf]]></dc:creator><pubDate>Mon, 21 May 2007 06:13:15 GMT</pubDate></item><item><title><![CDATA[Reply to Wie erstelle ich eine Listbox on Mon, 21 May 2007 06:50:40 GMT]]></title><description><![CDATA[<p>Das geht nicht mit einer Listbox sondern mit einer ListView. Ein kleines aber gutes tut ist z.B. das hier <a href="http://www.codeproject.com/listctrl/listview.asp" rel="nofollow">http://www.codeproject.com/listctrl/listview.asp</a></p>
<p>schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1288824</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1288824</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Mon, 21 May 2007 06:50:40 GMT</pubDate></item><item><title><![CDATA[Reply to Wie erstelle ich eine Listbox on Mon, 21 May 2007 12:03:53 GMT]]></title><description><![CDATA[<p>Das hat nichts mit den Koordinaten 0,0,0,0 zu tun! Denke auch es liegt mehr daran:</p>
<pre><code class="language-cpp">
</code></pre>
<p>keksekekse schrieb:</p>
<blockquote>
<p>Wie hast Du hListBox deklariert?</p>
</blockquote>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> <em>static</em> ?!</p>
<p>Oder sagen wir mal, dann würde sich das mit den Koordinaten erübrigen :p .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1288997</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1288997</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Mon, 21 May 2007 12:03:53 GMT</pubDate></item></channel></rss>