<?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[Programm grafisch gestallten]]></title><description><![CDATA[<p>Hi,</p>
<p>ich möchte mein Programm gerne grafisch etwas aufwerten.</p>
<p>Wie bekomme ich es z.B. hin, dass ich ein Hintergrundbild für einen CFormView angebe, dass sich automatisch über den kompletten Bereich resized?</p>
<p>thx schonmal im Voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/6375/programm-grafisch-gestallten</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 22:17:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/6375.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Jun 2003 10:17:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Programm grafisch gestallten on Sun, 29 Jun 2003 10:17:00 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich möchte mein Programm gerne grafisch etwas aufwerten.</p>
<p>Wie bekomme ich es z.B. hin, dass ich ein Hintergrundbild für einen CFormView angebe, dass sich automatisch über den kompletten Bereich resized?</p>
<p>thx schonmal im Voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/30912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/30912</guid><dc:creator><![CDATA[Doomrunner]]></dc:creator><pubDate>Sun, 29 Jun 2003 10:17:00 GMT</pubDate></item><item><title><![CDATA[Reply to Programm grafisch gestallten on Sun, 29 Jun 2003 10:21:00 GMT]]></title><description><![CDATA[<p>Der folgende Code funktioniert für einen normalen View, jedoch nicht für einen FormView.</p>
<pre><code class="language-cpp">CBitmap bitmap;
    bitmap.LoadBitmap(IDB_BITMAP1);

    BITMAP bm;
    bitmap.GetObject(sizeof(bm), &amp;bm);
    CDC speicherDC;
    speicherDC.CreateCompatibleDC(pDC);
    speicherDC.SelectObject(&amp;bitmap);
    RECT rect;
    GetClientRect(&amp;rect);
    pDC-&gt;StretchBlt(
        0,0,rect.right - rect.left, rect.bottom - rect.top, &amp;speicherDC,0,0,bm.bmWidth, bm.bmHeight, SRCCOPY);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/30913</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/30913</guid><dc:creator><![CDATA[Doomrunner]]></dc:creator><pubDate>Sun, 29 Jun 2003 10:21:00 GMT</pubDate></item></channel></rss>