<?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[Hintergrundbildgröße anpassen]]></title><description><![CDATA[<p>hi,</p>
<p>wie kann ich die hintergrundbildgröße so anpassen, dass das bild über den ganzen bildschirm gestreckt wird und nicht die ganze zeit wiederholt wird.</p>
<p>hier mal den code den ich benutze:</p>
<pre><code>HBRUSH m_hbrushBackground;
    HBITMAP hbmpBackground;
    hbmpBackground = (HBITMAP)LoadImage(NULL,&quot;media/background.bmp&quot;, IMAGE_BITMAP, 0,0,LR_LOADFROMFILE | LR_CREATEDIBSECTION | LR_DEFAULTSIZE);
    m_hbrushBackground = CreatePatternBrush(hbmpBackground);
    wincl.hbrBackground = m_hbrushBackground;
</code></pre>
<p>danke schonmal <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/242732/hintergrundbildgröße-anpassen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 12:20:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/242732.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Jun 2009 15:28:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hintergrundbildgröße anpassen on Sun, 07 Jun 2009 15:28:56 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>wie kann ich die hintergrundbildgröße so anpassen, dass das bild über den ganzen bildschirm gestreckt wird und nicht die ganze zeit wiederholt wird.</p>
<p>hier mal den code den ich benutze:</p>
<pre><code>HBRUSH m_hbrushBackground;
    HBITMAP hbmpBackground;
    hbmpBackground = (HBITMAP)LoadImage(NULL,&quot;media/background.bmp&quot;, IMAGE_BITMAP, 0,0,LR_LOADFROMFILE | LR_CREATEDIBSECTION | LR_DEFAULTSIZE);
    m_hbrushBackground = CreatePatternBrush(hbmpBackground);
    wincl.hbrBackground = m_hbrushBackground;
</code></pre>
<p>danke schonmal <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1722792</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1722792</guid><dc:creator><![CDATA[kurzeFrage]]></dc:creator><pubDate>Sun, 07 Jun 2009 15:28:56 GMT</pubDate></item><item><title><![CDATA[Reply to Hintergrundbildgröße anpassen on Fri, 12 Jun 2009 07:07:12 GMT]]></title><description><![CDATA[<p>Du könntest dir einen DC vom Fenster anlegen und dein Bild mit StretchBlt reinblitten (dabei kannst du Zielkoordinaten angeben und das Bild so strecken/stauchen).</p>
<p>Das gehört übrigens ins WinAPI-Forum und hat mit Standard-C++ nix zu tun.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1725394</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1725394</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Fri, 12 Jun 2009 07:07:12 GMT</pubDate></item><item><title><![CDATA[Reply to Hintergrundbildgröße anpassen on Fri, 12 Jun 2009 08:21:33 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-403.html" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1725426</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1725426</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Fri, 12 Jun 2009 08:21:33 GMT</pubDate></item></channel></rss>