<?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[Icons extrahieren]]></title><description><![CDATA[<p>Hi,<br />
ich hoffe mal das gehört hier in das forum. also folgendes Problem: Ich habe eine Icon-Datei meinicon.ICO welchere merhere Icons (beliebige Formate) enthält. Wie kann ich diese &quot;extrahieren&quot; damit ich sie danach mit DrawIcon() in ein HDC zeichnen kann?<br />
Ich hab schon ExtractIcon ausprobiert, aber als anzahl der Icons gibt er immer 1 zurück, obwohl das icon mind. 3 enthält.</p>
<p>Kan mir jdn helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/96209/icons-extrahieren</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 23:51:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/96209.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Dec 2004 17:18:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Icons extrahieren on Wed, 29 Dec 2004 17:18:42 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich hoffe mal das gehört hier in das forum. also folgendes Problem: Ich habe eine Icon-Datei meinicon.ICO welchere merhere Icons (beliebige Formate) enthält. Wie kann ich diese &quot;extrahieren&quot; damit ich sie danach mit DrawIcon() in ein HDC zeichnen kann?<br />
Ich hab schon ExtractIcon ausprobiert, aber als anzahl der Icons gibt er immer 1 zurück, obwohl das icon mind. 3 enthält.</p>
<p>Kan mir jdn helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/682792</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/682792</guid><dc:creator><![CDATA[Salim]]></dc:creator><pubDate>Wed, 29 Dec 2004 17:18:42 GMT</pubDate></item><item><title><![CDATA[Reply to Icons extrahieren on Wed, 29 Dec 2004 17:39:22 GMT]]></title><description><![CDATA[<p>Salim schrieb:</p>
<blockquote>
<p>Ich hab schon ExtractIcon ausprobiert, aber als anzahl der Icons gibt er immer 1 zurück, obwohl das icon mind. 3 enthält.</p>
</blockquote>
<p>ExtractIcon gibt doch nicht die Anzahl der Icons zurück <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/682802</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/682802</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 29 Dec 2004 17:39:22 GMT</pubDate></item><item><title><![CDATA[Reply to Icons extrahieren on Wed, 29 Dec 2004 18:45:45 GMT]]></title><description><![CDATA[<p>Wenn man für IconIndex -1 übergibt, dann nach MSDN angeblich schon.<br />
Auf jdn fall scheint ExtractIcon nicht zu funktionieren, der holt mir nur einen Icon raus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/682828</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/682828</guid><dc:creator><![CDATA[Salim]]></dc:creator><pubDate>Wed, 29 Dec 2004 18:45:45 GMT</pubDate></item><item><title><![CDATA[Reply to Icons extrahieren on Wed, 29 Dec 2004 19:03:28 GMT]]></title><description><![CDATA[<p>Die Doku sagt ja auch zum letzten Parameter:</p>
<blockquote>
<p><em>nIconIndex</em></p>
<p>[in] Specifies the zero-based index of the icon to retrieve. For example, if this value is 0, the function returns a handle to the first icon in the specified file.<br />
If this value is –1, the function returns the total number of icons in the specified file. If the file is an executable file or DLL, the return value is the number of RT_GROUP_ICON resources. <strong>If the file is an .ICO file, the return value is 1.</strong></p>
</blockquote>
<p>Vielleicht hilft dir ExtractIconEx? Das kann mehr Icons extrahieren als ExtractIcon.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/682842</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/682842</guid><dc:creator><![CDATA[Christoph]]></dc:creator><pubDate>Wed, 29 Dec 2004 19:03:28 GMT</pubDate></item><item><title><![CDATA[Reply to Icons extrahieren on Wed, 29 Dec 2004 19:48:02 GMT]]></title><description><![CDATA[<p>Genau das ist ja auch das doofe Problem :'(, bei ExtractIconEx besteht das gleiche Problem: &quot;If the file is an .ico file, the return value is 1.&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/682877</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/682877</guid><dc:creator><![CDATA[Salim]]></dc:creator><pubDate>Wed, 29 Dec 2004 19:48:02 GMT</pubDate></item><item><title><![CDATA[Reply to Icons extrahieren on Wed, 29 Dec 2004 21:49:55 GMT]]></title><description><![CDATA[<p>Salim schrieb:</p>
<blockquote>
<p>bei ExtractIconEx besteht das gleiche Problem: &quot;If the file is an .ico file, the return value is 1.&quot;</p>
</blockquote>
<p>Ja, aber in einem .ico-file können doch nur verschiedene Größen eines Icons gespeichert werden. Nicht verschiedene Icons (mit gleicher Größe).<br />
Mit ExtractIconEx kannst du die verschiedenen Größen extrahieren.</p>
<p>Falls das nicht das ist, was du willst: Beschreib doch bitte nochmal genau dein Ziel und den Inhalt dieser ico-datei.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/682943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/682943</guid><dc:creator><![CDATA[Christoph]]></dc:creator><pubDate>Wed, 29 Dec 2004 21:49:55 GMT</pubDate></item><item><title><![CDATA[Reply to Icons extrahieren on Wed, 29 Dec 2004 23:59:19 GMT]]></title><description><![CDATA[<p>Danke, aber ich habs jetzt mit den Beispielfunktionen vom IconPro Beispiel (ReadIconFromICOFile(), etc.) probiert, und es klappt eigentlich ganz super.<br />
Nur eine Frage: ich setze die Transparenz durch die lpANDBits, ist das richtig? Doch es gibt noch was anderes, undzwar dieses &quot;Invert&quot;, wenn man ja Icons erstellt, kann man ja auch Transparente Pixel setzen, aber auch &quot;Invertierende Pixel&quot; setzen (d.h. weiß-&gt;schwarz, etc.), das gibts aber bei cursoren öfters als bei Icons, kann man das auch irgendwie rauskriegen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/682995</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/682995</guid><dc:creator><![CDATA[Salim]]></dc:creator><pubDate>Wed, 29 Dec 2004 23:59:19 GMT</pubDate></item></channel></rss>