<?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[Bitmap-Resource als Hintergrundbild]]></title><description><![CDATA[<p>Hiho!</p>
<p>Also ich hab hier im Forum irgendwo schonmal gelesen, wie man einen Resource (eine *.bmp-Datei) in die Fensterklasse also</p>
<pre><code class="language-cpp">wndclass.hbrBackground       = (HBRUSH) GetStockObject(LTGRAY_BRUSH);
</code></pre>
<p>einbaut</p>
<p>dies waren meine Versuche:</p>
<pre><code class="language-cpp">wndclass.hbrBackground = (HBRUSH) IDB_BITMAP7;
</code></pre>
<pre><code class="language-cpp">wndclass.hbrBackground = (HBRUSH) MAKEINTRESOURCE(IDB_BITMAP7);
</code></pre>
<pre><code class="language-cpp">wndclass.hbrBackground = (HBRUSH) GetStockObject(MAKEINTRESOURCE(IDB_BITMAP7));
</code></pre>
<p>Wobei IDB_BITMAP7 die Resource ist!</p>
<p>Keiner hat sorichtig funktioniert! Kann mir einer helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/135760/bitmap-resource-als-hintergrundbild</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 03:43:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135760.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Feb 2006 18:21:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bitmap-Resource als Hintergrundbild on Sat, 04 Feb 2006 21:09:13 GMT]]></title><description><![CDATA[<p>Hiho!</p>
<p>Also ich hab hier im Forum irgendwo schonmal gelesen, wie man einen Resource (eine *.bmp-Datei) in die Fensterklasse also</p>
<pre><code class="language-cpp">wndclass.hbrBackground       = (HBRUSH) GetStockObject(LTGRAY_BRUSH);
</code></pre>
<p>einbaut</p>
<p>dies waren meine Versuche:</p>
<pre><code class="language-cpp">wndclass.hbrBackground = (HBRUSH) IDB_BITMAP7;
</code></pre>
<pre><code class="language-cpp">wndclass.hbrBackground = (HBRUSH) MAKEINTRESOURCE(IDB_BITMAP7);
</code></pre>
<pre><code class="language-cpp">wndclass.hbrBackground = (HBRUSH) GetStockObject(MAKEINTRESOURCE(IDB_BITMAP7));
</code></pre>
<p>Wobei IDB_BITMAP7 die Resource ist!</p>
<p>Keiner hat sorichtig funktioniert! Kann mir einer helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/985960</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/985960</guid><dc:creator><![CDATA[Top_se]]></dc:creator><pubDate>Sat, 04 Feb 2006 21:09:13 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Resource als Hintergrundbild on Sat, 04 Feb 2006 22:10:41 GMT]]></title><description><![CDATA[<p>LoadImage</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986136</guid><dc:creator><![CDATA[emule]]></dc:creator><pubDate>Sat, 04 Feb 2006 22:10:41 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Resource als Hintergrundbild on Sun, 05 Feb 2006 09:50:57 GMT]]></title><description><![CDATA[<p>THX, ich habs hingegriegt:</p>
<pre><code class="language-cpp">wndclass.hbrBackground = CreatePatternBrush(LoadBitmap(hInstance,MAKEINTRESOURCE(IDB_BITMAPHG)));
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/986242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986242</guid><dc:creator><![CDATA[Top_se]]></dc:creator><pubDate>Sun, 05 Feb 2006 09:50:57 GMT</pubDate></item></channel></rss>