<?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[Bild drucken]]></title><description><![CDATA[<p>Hi ich versuche ein Bild auszudrucken...</p>
<p>Leider funktioniert mein Code nicht ganz.<br />
Kann mir jemand helfe und sagen, was nicht korrekt ist?</p>
<pre><code class="language-cpp">HDC hdcMem = CreateCompatibleDC (NULL); 

    HBITMAP hBitmap = (HBITMAP)LoadImage(NULL,&quot;logo-ammann.jpg&quot;,IMAGE_BITMAP,0,0,LR_LOADFROMFILE); 
    SelectObject (hdcMem,hBitmap); 
    cPrint-&gt;StretchBlt(5000,5000,300,200,&amp;hdcMem, 0, 0, 100, 100,SRCCOPY);
</code></pre>
<p>Vielen Dank für die Antworten!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/84543/bild-drucken</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 14:35:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/84543.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Aug 2004 11:56:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bild drucken on Tue, 31 Aug 2004 11:56:22 GMT]]></title><description><![CDATA[<p>Hi ich versuche ein Bild auszudrucken...</p>
<p>Leider funktioniert mein Code nicht ganz.<br />
Kann mir jemand helfe und sagen, was nicht korrekt ist?</p>
<pre><code class="language-cpp">HDC hdcMem = CreateCompatibleDC (NULL); 

    HBITMAP hBitmap = (HBITMAP)LoadImage(NULL,&quot;logo-ammann.jpg&quot;,IMAGE_BITMAP,0,0,LR_LOADFROMFILE); 
    SelectObject (hdcMem,hBitmap); 
    cPrint-&gt;StretchBlt(5000,5000,300,200,&amp;hdcMem, 0, 0, 100, 100,SRCCOPY);
</code></pre>
<p>Vielen Dank für die Antworten!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/596004</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/596004</guid><dc:creator><![CDATA[addict]]></dc:creator><pubDate>Tue, 31 Aug 2004 11:56:22 GMT</pubDate></item></channel></rss>