<?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[Imagelist: Icon verschwindet]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe in meiner Anwendung ein Listcontrol.<br />
Darin zeige ich ein Icon an, das ich mit dem Axialis Workshop<br />
selbst erstellt habe.</p>
<p>Nun sieht es auf &quot;nicht-XP-Systemen&quot; etwas merkwürdig aus.<br />
Dort verschwindet das Icon, sobald ich den Eintrag anklicke.<br />
Zudem hat das Icon einen schwarzen Hintergrund.</p>
<p>Im XP-Look verhält es sich normal (transparenter Hintergrund).</p>
<pre><code class="language-cpp">m_imagelist. Create ( 16, 16, ILC_COLOR32, 1, 1 ); //Icon wurde in so ziemlich allen Formaten und Größen gespeichert!
//...
liste1 . InsertItem(0,newfilename,0);
</code></pre>
<p>Was kann hierfür die Ursache sein? Wird nicht autom. die richtige<br />
Version des Icon geladen, wenn ich COLOR32 angebe und 16x16 anwähle?</p>
<p>Im IconWorkshop habe ich die Formate schon rauf und runter probiert.<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/196100/imagelist-icon-verschwindet</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 12:00:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/196100.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Oct 2007 12:24:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Imagelist: Icon verschwindet on Thu, 25 Oct 2007 12:24:45 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe in meiner Anwendung ein Listcontrol.<br />
Darin zeige ich ein Icon an, das ich mit dem Axialis Workshop<br />
selbst erstellt habe.</p>
<p>Nun sieht es auf &quot;nicht-XP-Systemen&quot; etwas merkwürdig aus.<br />
Dort verschwindet das Icon, sobald ich den Eintrag anklicke.<br />
Zudem hat das Icon einen schwarzen Hintergrund.</p>
<p>Im XP-Look verhält es sich normal (transparenter Hintergrund).</p>
<pre><code class="language-cpp">m_imagelist. Create ( 16, 16, ILC_COLOR32, 1, 1 ); //Icon wurde in so ziemlich allen Formaten und Größen gespeichert!
//...
liste1 . InsertItem(0,newfilename,0);
</code></pre>
<p>Was kann hierfür die Ursache sein? Wird nicht autom. die richtige<br />
Version des Icon geladen, wenn ich COLOR32 angebe und 16x16 anwähle?</p>
<p>Im IconWorkshop habe ich die Formate schon rauf und runter probiert.<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1391831</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391831</guid><dc:creator><![CDATA[Gordan]]></dc:creator><pubDate>Thu, 25 Oct 2007 12:24:45 GMT</pubDate></item><item><title><![CDATA[Reply to Imagelist: Icon verschwindet on Thu, 25 Oct 2007 12:45:56 GMT]]></title><description><![CDATA[<p>Ich habs gefunden:</p>
<pre><code class="language-cpp">m_imagelist. Create ( 16, 16, TRUE|ILC_COLOR32, 0, 0 );
</code></pre>
<p>Was ich aus der MSDN nicht verstehe ist der 4te und 5te Parameter.</p>
<blockquote>
<p>nInitial<br />
Number of images that the image list initially contains.</p>
<p>nGrow<br />
Number of images by which the image list can grow when the system needs to resize the list to make room for new images. This parameter represents the number of new images the resized image list can contain.</p>
</blockquote>
<p>Muss ich da nur etwas angeben, wenn ich die Bilder tauschen wollte und<br />
ggf. weitere Ressourcen hätte wie IDI_ICON1,2,3 etc <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1391849</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391849</guid><dc:creator><![CDATA[Gordan]]></dc:creator><pubDate>Thu, 25 Oct 2007 12:45:56 GMT</pubDate></item></channel></rss>