<?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[was bringen metafiles]]></title><description><![CDATA[<p>Was bringen sie?<br />
Ob ich jetzt gleich meine Zeichenoperationen bei WM_Paint einfüge oder ich erst eine metafile erzeugge is doch egal?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/220741/was-bringen-metafiles</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 08:05:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/220741.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Aug 2008 12:41:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to was bringen metafiles on Wed, 20 Aug 2008 12:41:51 GMT]]></title><description><![CDATA[<p>Was bringen sie?<br />
Ob ich jetzt gleich meine Zeichenoperationen bei WM_Paint einfüge oder ich erst eine metafile erzeugge is doch egal?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568236</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568236</guid><dc:creator><![CDATA[oder efns]]></dc:creator><pubDate>Wed, 20 Aug 2008 12:41:51 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Wed, 20 Aug 2008 20:13:28 GMT]]></title><description><![CDATA[<p>push</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568545</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568545</guid><dc:creator><![CDATA[oder efns]]></dc:creator><pubDate>Wed, 20 Aug 2008 20:13:28 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Thu, 21 Aug 2008 06:24:39 GMT]]></title><description><![CDATA[<p>Aber Metafiles können einmal erstellt abgespielt werden ohne, dass Du den Code erneut ausführen musst.<br />
Sicher für ein dynamisches Programm macht es keinen Sinn, aber für das Clipboard, Datenübertragung, Drucken etc. gibt es schon viele Verwendungen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568632</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568632</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 21 Aug 2008 06:24:39 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Thu, 21 Aug 2008 09:23:41 GMT]]></title><description><![CDATA[<p>ist es schneller wenn man die befehle direkt schreibt oder in eine metafile?<br />
Und könnte man die erstellte metafile dann in einem neuen anderen Projekt wieder laden und einsetzten? das hat irgendwie kienen sinn...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568757</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568757</guid><dc:creator><![CDATA[oder efns]]></dc:creator><pubDate>Thu, 21 Aug 2008 09:23:41 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Thu, 21 Aug 2008 09:39:58 GMT]]></title><description><![CDATA[<p>Metafiles können im gegebenen Rahmen (siehe MSDN) wiedergegegben werden. Und ja, Die weidergabe einer Meta File kann etwas schneller sein, als die datenausgabe, die Du evtl. mit variablen daten machst. Immerhin entfällt ja die gesamte Evaluierung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568769</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568769</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 21 Aug 2008 09:39:58 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Thu, 21 Aug 2008 10:13:40 GMT]]></title><description><![CDATA[<p>könnte man die erstellte metafile dann in einem neuen anderen Projekt wieder laden und einsetzten? das hat irgendwie kienen sinn...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568798</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568798</guid><dc:creator><![CDATA[oder efns]]></dc:creator><pubDate>Thu, 21 Aug 2008 10:13:40 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Thu, 21 Aug 2008 10:27:50 GMT]]></title><description><![CDATA[<p>Hier mal ein Beispiel weißt du warum das nicht Funktioniert?</p>
<pre><code class="language-cpp">case WM_CREATE:
		  hdcEMF = CreateEnhMetaFile(0, 0, 0, 0);
		  MoveToEx(hdcEMF, 0, 0, 0);
		  LineTo(hdcEMF, 10, 40);
		  hemf = CloseEnhMetaFile(hdcEMF);
          return 0 ;      
	 case WM_PAINT:
          hdc = BeginPaint(hwnd, &amp;ps);
		  GetClientRect(hwnd, &amp;rect);
		  PlayEnhMetaFile(hdc, hemf, &amp;rect);
		  EndPaint(hwnd, &amp;ps);
		  return 0;
</code></pre>
<p>obwohl ich LineTo 10, 40 angegeben habe zeichnet es durch den ganzen Bildschirm eine Diagonale?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568806</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568806</guid><dc:creator><![CDATA[oder efns]]></dc:creator><pubDate>Thu, 21 Aug 2008 10:27:50 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Thu, 21 Aug 2008 12:06:32 GMT]]></title><description><![CDATA[<p>??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568861</guid><dc:creator><![CDATA[omfg]]></dc:creator><pubDate>Thu, 21 Aug 2008 12:06:32 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Thu, 21 Aug 2008 12:25:17 GMT]]></title><description><![CDATA[<p>Du hast nicht daran gedacht wie Meta Files Skaliert werden.</p>
<p>Schon mal einfach daran gedacht, die existierenden Samples anzusehen:<br />
<a href="http://support.microsoft.com/kb/145999/en-us" rel="nofollow">http://support.microsoft.com/kb/145999/en-us</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568878</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568878</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 21 Aug 2008 12:25:17 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Thu, 21 Aug 2008 12:53:17 GMT]]></title><description><![CDATA[<p>danke aber warum muss ich dann bei dn LineTo usw auch noch die koordinaten festlegen wenn man sie schon übers rect festlegt?</p>
<pre><code class="language-cpp">case WM_CREATE:
		  hdcEMF = CreateEnhMetaFile(0, 0, 0, 0);
		  MoveToEx(hdcEMF, 0, 0, 0);
		  LineTo(hdcEMF, 10, 40);
		  hemf = CloseEnhMetaFile(hdcEMF);
          return 0 ;      
	 case WM_PAINT:
          hdc = BeginPaint(hwnd, &amp;ps);
		  GetClientRect(hwnd, &amp;rect);
		  rect.left = 0;
		  rect.right = 100;
		  rect.top = 0;
		  rect.bottom = 100;
		  PlayEnhMetaFile(hdc, hemf, &amp;rect);
		  EndPaint(hwnd, &amp;ps);
		  return 0;
</code></pre>
<p>ich glaube ich hab da was falsch verstanden...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1568903</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1568903</guid><dc:creator><![CDATA[oder efns]]></dc:creator><pubDate>Thu, 21 Aug 2008 12:53:17 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Thu, 21 Aug 2008 21:15:33 GMT]]></title><description><![CDATA[<p>wäre super wenn das einer weiß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1569236</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1569236</guid><dc:creator><![CDATA[oder efns]]></dc:creator><pubDate>Thu, 21 Aug 2008 21:15:33 GMT</pubDate></item><item><title><![CDATA[Reply to was bringen metafiles on Fri, 22 Aug 2008 12:34:59 GMT]]></title><description><![CDATA[<p>weiß keiner wo mein fehler liegt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1569598</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1569598</guid><dc:creator><![CDATA[oder efns]]></dc:creator><pubDate>Fri, 22 Aug 2008 12:34:59 GMT</pubDate></item></channel></rss>