<?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[Querformat]]></title><description><![CDATA[<p>Hallo! Hat irgendjemand ne ahnung wie ich vom programm aus querformat einstellen kann?</p>
<p>thx</p>
<p>MFG</p>
<p>Hansi</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/65522/querformat</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 03:33:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/65522.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Feb 2004 15:35:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Querformat on Thu, 19 Feb 2004 15:35:43 GMT]]></title><description><![CDATA[<p>Hallo! Hat irgendjemand ne ahnung wie ich vom programm aus querformat einstellen kann?</p>
<p>thx</p>
<p>MFG</p>
<p>Hansi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/463301</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/463301</guid><dc:creator><![CDATA[Hansi]]></dc:creator><pubDate>Thu, 19 Feb 2004 15:35:43 GMT</pubDate></item><item><title><![CDATA[Reply to Querformat on Thu, 19 Feb 2004 16:15:39 GMT]]></title><description><![CDATA[<p>Aloha,</p>
<p>nen bißchen konkreter wäre schon schön... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Ich denke aber das hier hilft als Denkansatz.</p>
<pre><code>CDC dc;
	CPrintDialog dlg(FALSE);
	dlg.GetDefaults();
	dc.Attach(dlg.GetPrinterDC());

	DEVMODE *my_devmode = dlg.GetDevMode();
	my_devmode-&gt;dmOrientation = [b]DMORIENT_LANDSCAPE;[/b]
	my_devmode-&gt;dmPelsHeight = dc.GetDeviceCaps(HORZRES);
	my_devmode-&gt;dmPelsWidth = dc.GetDeviceCaps(VERTRES);

	dc.ResetDC(my_devmode);
</code></pre>
<p>Grüße</p>
<p>BOA</p>
]]></description><link>https://www.c-plusplus.net/forum/post/463357</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/463357</guid><dc:creator><![CDATA[BOA]]></dc:creator><pubDate>Thu, 19 Feb 2004 16:15:39 GMT</pubDate></item><item><title><![CDATA[Reply to Querformat on Thu, 19 Feb 2004 20:35:33 GMT]]></title><description><![CDATA[<p>Danke. Dann muss ich aber noch nen PrintDialog erzeuegen, weil ich hab vorher die Standard-Funktion genommen, naja is net schlimm.</p>
<p>Danke</p>
<p>MFG</p>
<p>Hansi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/463582</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/463582</guid><dc:creator><![CDATA[Hansi]]></dc:creator><pubDate>Thu, 19 Feb 2004 20:35:33 GMT</pubDate></item><item><title><![CDATA[Reply to Querformat on Sun, 22 Feb 2004 11:40:55 GMT]]></title><description><![CDATA[<p>Irgendwie klappts aber nich: Hier mein Code</p>
<pre><code class="language-cpp">CDC* pDC; 
    CPrintDialog dlg(FALSE);
	dlg.DoModal();
    dlg.GetDefaults(); 
    MessageBox(&quot;Hier gehts noch&quot;);

    pDC-&gt;Attach(dlg.GetPrinterDC());//Hier gibts probleme

    DEVMODE *my_devmode = dlg.GetDevMode(); 
    my_devmode-&gt;dmOrientation = DMORIENT_LANDSCAPE; 
    my_devmode-&gt;dmPelsHeight = pDC-&gt;GetDeviceCaps(HORZRES); 
    my_devmode-&gt;dmPelsWidth = pDC-&gt;GetDeviceCaps(VERTRES); 
pDC-&gt;SetMapMode(MM_TWIPS);
Text1.CreateFont(-350,0,0,0,400,FALSE,FALSE,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH | FF_ROMAN,&quot;Times New Roman&quot;);
</code></pre>
<p>Was mach ich denn nur falsch?</p>
<p>MFG</p>
<p>Hansi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/464732</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/464732</guid><dc:creator><![CDATA[Hansi]]></dc:creator><pubDate>Sun, 22 Feb 2004 11:40:55 GMT</pubDate></item><item><title><![CDATA[Reply to Querformat on Mon, 23 Feb 2004 09:35:08 GMT]]></title><description><![CDATA[<p>Ich habs endlich hingekriegt. mit dem beitrag hier... <a href="http://www.c-plusplus.net/forum/viewtopic.php?t=6339&amp;highlight=querformat" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?t=6339&amp;highlight=querformat</a></p>
<p>der is echt net schlecht...</p>
<p>Noch ma danke an alle</p>
<p>MFG</p>
<p>Hansi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/465696</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/465696</guid><dc:creator><![CDATA[Hansi]]></dc:creator><pubDate>Mon, 23 Feb 2004 09:35:08 GMT</pubDate></item><item><title><![CDATA[Reply to Querformat on Mon, 23 Feb 2004 09:35:13 GMT]]></title><description><![CDATA[<p>Aloha,</p>
<p>meiner bescheidenen Meinung nach, sollte es an der Stelle keine Probs geben, sondern ein paar Zeilen später.</p>
<p>Wenn Du ein Domodal() machst, sprich den Druckdialog öffnest, um den User etwas einstellen zu lassen, brauchst Du den Devmode doch gar nicht mehr manuell setzen, dann kann doch der User sich horizontal einstellen ?!?!</p>
<p>Bei meiner Variante, die ich aus meinem Projekt kopiert habe, kann der User nichts einstellen, sondern bekommt eine Liste ausgedruckt, wie ich mir das wünsche, deswegen benutze ich kein domodal().</p>
<p>Außerdem fehlt mir irgendwie</p>
<pre><code>dc.ResetDC(my_devmode);
</code></pre>
<p>um die Änderungen des devmodes zu setzen.</p>
<p>Was ist denn genau die Fehleranzeige ?</p>
<p>Grüße</p>
<p>BOA</p>
]]></description><link>https://www.c-plusplus.net/forum/post/465697</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/465697</guid><dc:creator><![CDATA[BOA]]></dc:creator><pubDate>Mon, 23 Feb 2004 09:35:13 GMT</pubDate></item><item><title><![CDATA[Reply to Querformat on Mon, 23 Feb 2004 09:46:59 GMT]]></title><description><![CDATA[<p>Also Windows wollte nen Problem-bericht senden, aber das hat sich jetz erledigt. Hab ja jetz ne lösung trotzdem DANKE.</p>
<p>MFG</p>
<p>Hansi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/465718</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/465718</guid><dc:creator><![CDATA[Hansi]]></dc:creator><pubDate>Mon, 23 Feb 2004 09:46:59 GMT</pubDate></item><item><title><![CDATA[Reply to Querformat on Mon, 23 Feb 2004 10:21:48 GMT]]></title><description><![CDATA[<p>Aloha,</p>
<p>na das nenn ich mal nen gleichzeitiges Posten.</p>
<p>Ok,<br />
gut so.</p>
<p>Grüße</p>
<p>BOA</p>
]]></description><link>https://www.c-plusplus.net/forum/post/465740</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/465740</guid><dc:creator><![CDATA[BOA]]></dc:creator><pubDate>Mon, 23 Feb 2004 10:21:48 GMT</pubDate></item></channel></rss>