<?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[GetOpenFileName]]></title><description><![CDATA[<p>Guten Morgen!!!</p>
<p>1. Wie erzwinge ich mein Programm dazu, ein Bild reinzuladen, nach dem eine Datei mittels &quot;GetOpenFileName&quot; geoeffnet wurde?</p>
<p>Bisher hab ich ein einfaches Bild ueber die</p>
<pre><code class="language-cpp">case WM_CREATE:
          hBitMap = (HBITMAP)LoadImage(0,&quot;bitmap3.bmp&quot;,IMAGE_BITMAP, 0, 0,
                 LR_DEFAULTSIZE|LR_LOADFROMFILE|LR_CREATEDIBSECTION);

          if(hBitMap==NULL){
            MessageBox(hWnd,&quot;Bild konnte nicht geladen werden&quot;,&quot;Error&quot;,0);
          return -1;
          }
</code></pre>
<p>2. Diese Anweisung ist nur in WS_PAINT moeglich oder?</p>
<pre><code class="language-cpp">StretchBlt(hdc, 10, 20, 400, 300, hdcMem, 0,0, bitmap.bmWidth , bitmap.bmHeight, SRCCOPY);
</code></pre>
<p>geladen und das war ja kein Problem.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/144154/getopenfilename</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 10:51:31 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/144154.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Apr 2006 09:57:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GetOpenFileName on Sat, 15 Apr 2006 09:57:05 GMT]]></title><description><![CDATA[<p>Guten Morgen!!!</p>
<p>1. Wie erzwinge ich mein Programm dazu, ein Bild reinzuladen, nach dem eine Datei mittels &quot;GetOpenFileName&quot; geoeffnet wurde?</p>
<p>Bisher hab ich ein einfaches Bild ueber die</p>
<pre><code class="language-cpp">case WM_CREATE:
          hBitMap = (HBITMAP)LoadImage(0,&quot;bitmap3.bmp&quot;,IMAGE_BITMAP, 0, 0,
                 LR_DEFAULTSIZE|LR_LOADFROMFILE|LR_CREATEDIBSECTION);

          if(hBitMap==NULL){
            MessageBox(hWnd,&quot;Bild konnte nicht geladen werden&quot;,&quot;Error&quot;,0);
          return -1;
          }
</code></pre>
<p>2. Diese Anweisung ist nur in WS_PAINT moeglich oder?</p>
<pre><code class="language-cpp">StretchBlt(hdc, 10, 20, 400, 300, hdcMem, 0,0, bitmap.bmWidth , bitmap.bmHeight, SRCCOPY);
</code></pre>
<p>geladen und das war ja kein Problem.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1037796</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1037796</guid><dc:creator><![CDATA[escapete]]></dc:creator><pubDate>Sat, 15 Apr 2006 09:57:05 GMT</pubDate></item><item><title><![CDATA[Reply to GetOpenFileName on Sat, 15 Apr 2006 12:16:18 GMT]]></title><description><![CDATA[<p>Nein die Anweisung ist überall möglich.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1037852</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1037852</guid><dc:creator><![CDATA[gdgdf]]></dc:creator><pubDate>Sat, 15 Apr 2006 12:16:18 GMT</pubDate></item><item><title><![CDATA[Reply to GetOpenFileName on Sat, 15 Apr 2006 16:26:39 GMT]]></title><description><![CDATA[<p>Mir ist jetzt nicht ganz klar, was genau deine Fragen sind <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1038006</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1038006</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Sat, 15 Apr 2006 16:26:39 GMT</pubDate></item></channel></rss>