<?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[Icon in CListCtrl]]></title><description><![CDATA[<p>Ich hab versucht Einträge mit Symbolen in ein CListCtrl hinzuzufügen:</p>
<pre><code class="language-cpp">CImageList imagelist;
imagelist.Create(IDB_BITMAP1,32,3,RGB(255,255,255));
m_ctlList.SetImageList(&amp;imagelist,LVSIL_NORMAL);
m_ctlList.InsertItem(0,&quot;eins&quot;,0);
m_ctlList.InsertItem(1,&quot;zwei&quot;,0);
m_ctlList.InsertItem(2,&quot;drei&quot;,0);
</code></pre>
<p>Allerdings funktionirt das nicht. Der Text erscheint zwar aber die Icons sind nicht zu sehen. Ich hab das auch schon mit dem Code aus den FAQ versucht, aber da tritt der selbe Effekt auf.</p>
<p>Danke schonmal im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/5645/icon-in-clistctrl</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 01:39:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/5645.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 03 May 2003 12:37:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Icon in CListCtrl on Sat, 03 May 2003 12:37:00 GMT]]></title><description><![CDATA[<p>Ich hab versucht Einträge mit Symbolen in ein CListCtrl hinzuzufügen:</p>
<pre><code class="language-cpp">CImageList imagelist;
imagelist.Create(IDB_BITMAP1,32,3,RGB(255,255,255));
m_ctlList.SetImageList(&amp;imagelist,LVSIL_NORMAL);
m_ctlList.InsertItem(0,&quot;eins&quot;,0);
m_ctlList.InsertItem(1,&quot;zwei&quot;,0);
m_ctlList.InsertItem(2,&quot;drei&quot;,0);
</code></pre>
<p>Allerdings funktionirt das nicht. Der Text erscheint zwar aber die Icons sind nicht zu sehen. Ich hab das auch schon mit dem Code aus den FAQ versucht, aber da tritt der selbe Effekt auf.</p>
<p>Danke schonmal im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27490</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27490</guid><dc:creator><![CDATA[newvet]]></dc:creator><pubDate>Sat, 03 May 2003 12:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to Icon in CListCtrl on Sat, 03 May 2003 13:21:00 GMT]]></title><description><![CDATA[<p>Dein CImageList-Objekt muss auf jeden Fall mal die selbe Lebensdauer wie dein ListCtrl haben, das heisst, dass du es nciht lokal in einer Funktion deklarieren darfst, nach der du die Bilder auch noch sehen willst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27491</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27491</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Sat, 03 May 2003 13:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to Icon in CListCtrl on Sat, 03 May 2003 13:51:00 GMT]]></title><description><![CDATA[<p>Danke, jetzt gehts.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27492</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27492</guid><dc:creator><![CDATA[newvet]]></dc:creator><pubDate>Sat, 03 May 2003 13:51:00 GMT</pubDate></item></channel></rss>