<?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[CBitmap]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine SDI - Anwendung und zeichne Linien in einer Bitmap.<br />
Soweit sogut.</p>
<p>Mein Problem ist nun: wie zeige ich die Bitmap in meiner CScrollView wieder an?<br />
Was muss ich in die OnDraw(CDC *pDC) Methode schreiben?<br />
Bisher funktioniert's leider nicht so wie ich es will..</p>
<p>Merci</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/72924/cbitmap</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 14:13:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/72924.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 May 2004 06:15:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CBitmap on Tue, 04 May 2004 06:15:07 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine SDI - Anwendung und zeichne Linien in einer Bitmap.<br />
Soweit sogut.</p>
<p>Mein Problem ist nun: wie zeige ich die Bitmap in meiner CScrollView wieder an?<br />
Was muss ich in die OnDraw(CDC *pDC) Methode schreiben?<br />
Bisher funktioniert's leider nicht so wie ich es will..</p>
<p>Merci</p>
]]></description><link>https://www.c-plusplus.net/forum/post/513860</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/513860</guid><dc:creator><![CDATA[EdiRitter]]></dc:creator><pubDate>Tue, 04 May 2004 06:15:07 GMT</pubDate></item><item><title><![CDATA[Reply to CBitmap on Tue, 04 May 2004 12:54:26 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>- du erstellst ein DC, und verbindest es mit dem Bitmap<br />
- dann Zeichnest du das DC (BitBlt) einfach auf das DC, das dir als Parameter in OnDraw übergeben wird<br />
- und noch dein eigenes DC löschen</p>
<p>Grüße Rapha</p>
]]></description><link>https://www.c-plusplus.net/forum/post/514080</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/514080</guid><dc:creator><![CDATA[Rapha]]></dc:creator><pubDate>Tue, 04 May 2004 12:54:26 GMT</pubDate></item><item><title><![CDATA[Reply to CBitmap on Tue, 04 May 2004 13:03:52 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>so scheint's zu funktionieren:</p>
<pre><code class="language-cpp">CDC     memDC; 
CBitmap *pOldBitmap;   
memDC.CreateCompatibleDC(pDC);
pOldBitmap = memDC.SelectObject(&amp;Bitmap); 

pDC-&gt;BitBlt( 0, 0, width, height, &amp;memDC, 0, 0 , SRCCOPY); 

memDC.SelectObject(pOldBitmap);
ReleaseDC(&amp;memDC);
</code></pre>
<p>Ist das Ganze so in Ordnung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/514089</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/514089</guid><dc:creator><![CDATA[EdiRitter]]></dc:creator><pubDate>Tue, 04 May 2004 13:03:52 GMT</pubDate></item></channel></rss>