<?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[Listbox sendmessage... verzweifelt]]></title><description><![CDATA[<p>Hi,</p>
<p>ich bekomme irgendwie meine Listbox nicht gefüllt. Bin schon am verzweifeln. Kann mir vielleicht jemand sagen was ich falsch mache?</p>
<pre><code>case WM_CREATE:
			{
				hList = CreateWindow( &quot;LISTBOX&quot;, NULL,
                                      WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS |LBS_NOTIFY| WS_VSCROLL| WS_BORDER,
                                      5, 5, 200, 235,
                                      hwnd,
                                      (HMENU)IDC_LIST,
                                       hInst, NULL );

				SendMessage(hList,LB_ADDSTRING,0,(LPARAM)&quot;test&quot;);
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/89459/listbox-sendmessage-verzweifelt</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 17:01:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/89459.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Oct 2004 20:18:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Listbox sendmessage... verzweifelt on Tue, 19 Oct 2004 20:18:32 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich bekomme irgendwie meine Listbox nicht gefüllt. Bin schon am verzweifeln. Kann mir vielleicht jemand sagen was ich falsch mache?</p>
<pre><code>case WM_CREATE:
			{
				hList = CreateWindow( &quot;LISTBOX&quot;, NULL,
                                      WS_CHILD | WS_VISIBLE | LBS_HASSTRINGS |LBS_NOTIFY| WS_VSCROLL| WS_BORDER,
                                      5, 5, 200, 235,
                                      hwnd,
                                      (HMENU)IDC_LIST,
                                       hInst, NULL );

				SendMessage(hList,LB_ADDSTRING,0,(LPARAM)&quot;test&quot;);
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/632804</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/632804</guid><dc:creator><![CDATA[rona]]></dc:creator><pubDate>Tue, 19 Oct 2004 20:18:32 GMT</pubDate></item><item><title><![CDATA[Reply to Listbox sendmessage... verzweifelt on Wed, 20 Oct 2004 10:18:32 GMT]]></title><description><![CDATA[<p>Warum antwortet hier denn niemand? hat denn noch keiner ähnlich Probleme gehabt?<br />
Ich bin ja nicht blöd und hab vorher gesucht! Doch es gab nix was mir weitergeholfen hat.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/633138</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/633138</guid><dc:creator><![CDATA[rona]]></dc:creator><pubDate>Wed, 20 Oct 2004 10:18:32 GMT</pubDate></item><item><title><![CDATA[Reply to Listbox sendmessage... verzweifelt on Wed, 20 Oct 2004 14:13:25 GMT]]></title><description><![CDATA[<p>ich hab das jetzt gleich ausprobiert, und es sieht wunderschön aus..<br />
(weisser kasten, schwarzer rand, eine zeile mit &quot;test&quot;, anwählbar..)</p>
<p>kleine änderungen (weil ich das nicht definiert habe):</p>
<pre><code class="language-cpp">(HMENU)IDC_LIST  /* geändert zu */  NULL
</code></pre>
<p>und (weil ich es noch nicht deklariert habe):</p>
<pre><code class="language-cpp">hList  /* geändert zu */  HWND hList
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/633377</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/633377</guid><dc:creator><![CDATA[nate7]]></dc:creator><pubDate>Wed, 20 Oct 2004 14:13:25 GMT</pubDate></item><item><title><![CDATA[Reply to Listbox sendmessage... verzweifelt on Thu, 21 Oct 2004 12:57:38 GMT]]></title><description><![CDATA[<p>Sry für Stress</p>
<p>Hab selber gecheckt. Bin Neuling in WINAPI / C / C++</p>
<pre><code>DrawText( lpDrawItem-&gt;hDC,(LPCTSTR)lpDrawItem-&gt;itemData,-1,&amp;lpDrawItem-&gt;rcItem,DT_SINGLELINE );
</code></pre>
<p>Wusste nicht das man das auch noch extra zeichnen muss. Steht nix davon im Tutorial das ich hab.</p>
<p>Asche auf mein Haupt</p>
<p>THX trotzdem</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634138</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634138</guid><dc:creator><![CDATA[rona]]></dc:creator><pubDate>Thu, 21 Oct 2004 12:57:38 GMT</pubDate></item></channel></rss>