<?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[Hintergrundbild in der Form]]></title><description><![CDATA[<p>also ich habs mal so probiert</p>
<pre><code class="language-cpp">Graphics::TBitmap *Bild = new Graphics::TBitmap;
</code></pre>
<pre><code class="language-cpp">Bild-&gt;LoadFromFile(&quot;Bild.bmp&quot;);
Form1-&gt;Canvas-&gt;StretchDraw(Rect(0,0,570,186),Bild);
</code></pre>
<p>aber er zeichnet es nicht, ich weiß nicht ob es daran liegt das er es gleich wieder mit der hintergrundfarbe übermalt oder es etwas anderes ist. aber wird fehlerfrei kompilliert</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/201789/hintergrundbild-in-der-form</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 03:25:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/201789.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Jan 2008 03:39:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hintergrundbild in der Form on Fri, 04 Jan 2008 03:39:59 GMT]]></title><description><![CDATA[<p>also ich habs mal so probiert</p>
<pre><code class="language-cpp">Graphics::TBitmap *Bild = new Graphics::TBitmap;
</code></pre>
<pre><code class="language-cpp">Bild-&gt;LoadFromFile(&quot;Bild.bmp&quot;);
Form1-&gt;Canvas-&gt;StretchDraw(Rect(0,0,570,186),Bild);
</code></pre>
<p>aber er zeichnet es nicht, ich weiß nicht ob es daran liegt das er es gleich wieder mit der hintergrundfarbe übermalt oder es etwas anderes ist. aber wird fehlerfrei kompilliert</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1430372</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1430372</guid><dc:creator><![CDATA[Schurke]]></dc:creator><pubDate>Fri, 04 Jan 2008 03:39:59 GMT</pubDate></item><item><title><![CDATA[Reply to Hintergrundbild in der Form on Fri, 04 Jan 2008 08:42:58 GMT]]></title><description><![CDATA[<p>Hallo Schurke,</p>
<p>jedesmal wenn Windows das Fenster neu Zeichnen will musst du StretchDraw ausführen. Also am besten in Form::OnPaint.</p>
<pre><code class="language-cpp">void __fastcall TForm1::FormPaint(TObject *Sender)
{
	Form1-&gt;Canvas-&gt;StretchDraw(Rect(0,0,570,186),Bild);
}
</code></pre>
<p>Gruß Peter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1430411</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1430411</guid><dc:creator><![CDATA[Peter24]]></dc:creator><pubDate>Fri, 04 Jan 2008 08:42:58 GMT</pubDate></item><item><title><![CDATA[Reply to Hintergrundbild in der Form on Fri, 04 Jan 2008 12:57:00 GMT]]></title><description><![CDATA[<p>danke ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1430590</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1430590</guid><dc:creator><![CDATA[Schurke]]></dc:creator><pubDate>Fri, 04 Jan 2008 12:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to Hintergrundbild in der Form on Sat, 05 Jan 2008 03:23:34 GMT]]></title><description><![CDATA[<p>wie kann ich denn nun eigentlich das bild so ins programm einbinden das ich es nicht seperat mitschiken muss?<br />
und kann ich dann immernoch loadfromfile verwenden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1430942</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1430942</guid><dc:creator><![CDATA[Schurke]]></dc:creator><pubDate>Sat, 05 Jan 2008 03:23:34 GMT</pubDate></item></channel></rss>