<?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[TransparentBlt]]></title><description><![CDATA[<p>Hi,<br />
Ich will mit Hilfe von TransparentBlt ein Bild zeichnen in dem eine Farbe Transparent ist. Um so ein Bild praktisch an seinen farbigen Kanten einzugrenzen statt in einem weißen Rechteck. Leider passiert sobald ich</p>
<pre><code class="language-cpp">//////////////////////////////////////////////////////////////////////
TransparentBlt(hdc, 400,0,100,130,hdc2,0, 0, 100, 130,RGB(255,255,255));
///////////////////////////////////////////////////////////////////////
</code></pre>
<p>in der WM_PAINT case der Nachrichten Prozedur aufrufe nichts.Ich teste schon ne Weile rum aber komme dabei zu nichts; Ich verstehe noch nicht viel von WINAPI<br />
(Hinweise um Fragen vorzubeugen: hdc ist das HDC vom Fenster und hdc2 das HDC für das Bild)</p>
<p>edit: sfds</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/80610/transparentblt</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 08:17:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/80610.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Jul 2004 18:47:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TransparentBlt on Fri, 23 Jul 2004 10:16:26 GMT]]></title><description><![CDATA[<p>Hi,<br />
Ich will mit Hilfe von TransparentBlt ein Bild zeichnen in dem eine Farbe Transparent ist. Um so ein Bild praktisch an seinen farbigen Kanten einzugrenzen statt in einem weißen Rechteck. Leider passiert sobald ich</p>
<pre><code class="language-cpp">//////////////////////////////////////////////////////////////////////
TransparentBlt(hdc, 400,0,100,130,hdc2,0, 0, 100, 130,RGB(255,255,255));
///////////////////////////////////////////////////////////////////////
</code></pre>
<p>in der WM_PAINT case der Nachrichten Prozedur aufrufe nichts.Ich teste schon ne Weile rum aber komme dabei zu nichts; Ich verstehe noch nicht viel von WINAPI<br />
(Hinweise um Fragen vorzubeugen: hdc ist das HDC vom Fenster und hdc2 das HDC für das Bild)</p>
<p>edit: sfds</p>
]]></description><link>https://www.c-plusplus.net/forum/post/566348</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/566348</guid><dc:creator><![CDATA[The_incredible_Guest]]></dc:creator><pubDate>Fri, 23 Jul 2004 10:16:26 GMT</pubDate></item><item><title><![CDATA[Reply to TransparentBlt on Thu, 22 Jul 2004 19:38:53 GMT]]></title><description><![CDATA[<p>Ruf doch mal <a href="http://msdn.microsoft.com/library/en-us/debug/base/getlasterror.asp" rel="nofollow">GetLastError</a> auf.<br />
Außerdem hilft es evtl. sich in der Doku über TransparentBlt zu informieren (vor allem die &quot;Remarks&quot;).</p>
<p>Benutz das nächste mal bitte Code-Tags, wenn du Code postest!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/566386</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/566386</guid><dc:creator><![CDATA[D*niel *chumann]]></dc:creator><pubDate>Thu, 22 Jul 2004 19:38:53 GMT</pubDate></item><item><title><![CDATA[Reply to TransparentBlt on Fri, 23 Jul 2004 06:37:12 GMT]]></title><description><![CDATA[<p>Ich habe GetLastError() schon aufgerufen. Dummerweise hat das nicht geklappt.<br />
Aber ich weiß das TransparentBlt wirklich kein Bild erzeugt weil es einen Fehler verursacht. Ich habe das über den bool Rückgabewert getestet.<br />
Ich kenne die Tags für Code Eingaben nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/566510</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/566510</guid><dc:creator><![CDATA[The_incredible_Guest]]></dc:creator><pubDate>Fri, 23 Jul 2004 06:37:12 GMT</pubDate></item><item><title><![CDATA[Reply to TransparentBlt on Fri, 23 Jul 2004 06:55:15 GMT]]></title><description><![CDATA[<p>Vergiss TransparentBlt.</p>
<p>Windows 95/98: TransparentBlt contains a memory leak that can exhaust system resources. To draw a transparent bitmap using BitBlt, see Knowledge Base article 79212.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/566520</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/566520</guid><dc:creator><![CDATA[.......]]></dc:creator><pubDate>Fri, 23 Jul 2004 06:55:15 GMT</pubDate></item><item><title><![CDATA[Reply to TransparentBlt on Fri, 23 Jul 2004 15:52:28 GMT]]></title><description><![CDATA[<p>tnx für den Tipp<br />
mit dem Flag SRCAND klappt es prima</p>
]]></description><link>https://www.c-plusplus.net/forum/post/567012</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/567012</guid><dc:creator><![CDATA[The_incredible_Guest]]></dc:creator><pubDate>Fri, 23 Jul 2004 15:52:28 GMT</pubDate></item></channel></rss>