<?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 anzeigen (MS VS C++ 6.0)]]></title><description><![CDATA[<p>Hallihallo werte Freunde der Sonne,</p>
<p>ich habe ein kleines Problem und zwar muss ich in MS VS 6.0 ein tranzparenten Button laden.</p>
<p>dies wird so gemacht</p>
<pre><code class="language-cpp">CBUTTON m_cFwd;

       m_cFwd.SetBitmap(::LoadBitmap(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_GO)));
</code></pre>
<p>dadurch kann ich das Bitmap anzeigen.. nun geht in Bitmaps aber keine Transparenz nur in gifs ico etc. kein Problem nehme ich halt ein Transparentes ico. kann man ja auch ganz einfach hinzufügen.<br />
gesagt getan nur leider weis ich nicht wie ich die Icons an der Stelle vom CButton anzeigen kann.. ich habs schon so versucht..</p>
<pre><code class="language-cpp">m_cFwd.SetIcon(::LoadIcon(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDI_ICON1)));
</code></pre>
<p>geht aber leider nicht...</p>
<p>auch so funktioniert es leider nicht</p>
<pre><code class="language-cpp">m_cFwd.SetIcon( AfxGetApp()-&gt;LoadIcon(IDI_ICON1) );
</code></pre>
<p>weis jemand Rat?</p>
<p>danke schonmal im Vorraus</p>
<p>greetz sand13r<br />
__________________<br />
...what..?...no.. iam no signature... i am just waiting here for the subway...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/196544/icons-anzeigen-ms-vs-c-6-0</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 02:50:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/196544.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Oct 2007 06:47:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Icons anzeigen (MS VS C++ 6.0) on Wed, 31 Oct 2007 06:59:12 GMT]]></title><description><![CDATA[<p>Hallihallo werte Freunde der Sonne,</p>
<p>ich habe ein kleines Problem und zwar muss ich in MS VS 6.0 ein tranzparenten Button laden.</p>
<p>dies wird so gemacht</p>
<pre><code class="language-cpp">CBUTTON m_cFwd;

       m_cFwd.SetBitmap(::LoadBitmap(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_GO)));
</code></pre>
<p>dadurch kann ich das Bitmap anzeigen.. nun geht in Bitmaps aber keine Transparenz nur in gifs ico etc. kein Problem nehme ich halt ein Transparentes ico. kann man ja auch ganz einfach hinzufügen.<br />
gesagt getan nur leider weis ich nicht wie ich die Icons an der Stelle vom CButton anzeigen kann.. ich habs schon so versucht..</p>
<pre><code class="language-cpp">m_cFwd.SetIcon(::LoadIcon(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDI_ICON1)));
</code></pre>
<p>geht aber leider nicht...</p>
<p>auch so funktioniert es leider nicht</p>
<pre><code class="language-cpp">m_cFwd.SetIcon( AfxGetApp()-&gt;LoadIcon(IDI_ICON1) );
</code></pre>
<p>weis jemand Rat?</p>
<p>danke schonmal im Vorraus</p>
<p>greetz sand13r<br />
__________________<br />
...what..?...no.. iam no signature... i am just waiting here for the subway...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394979</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394979</guid><dc:creator><![CDATA[sand13r]]></dc:creator><pubDate>Wed, 31 Oct 2007 06:59:12 GMT</pubDate></item></channel></rss>