<?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[Grösse eines SDI ändern]]></title><description><![CDATA[<p>Hi Leute,;)</p>
<p>ich hab mir grad n kleines Proggie mit nem SDI - View geschrieben.<br />
Ich mochte jetzt die Höhe und die Breite meines SDI Views ändern.<br />
Ich dachte das geht in OnPrepareDC :</p>
<pre><code class="language-cpp">void CSiebView::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo) 
{
	pDC-&gt;SetWindowExt (100,100);

	CView::OnPrepareDC(pDC, pInfo);
}
</code></pre>
<p>klappt aber net, wisst ihr Rat<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> ?</p>
<p>Vielen Dank schon mal<br />
ShadowEater</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/174480/grösse-eines-sdi-ändern</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 12:03:51 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/174480.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Feb 2007 18:29:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Grösse eines SDI ändern on Tue, 27 Feb 2007 18:29:30 GMT]]></title><description><![CDATA[<p>Hi Leute,;)</p>
<p>ich hab mir grad n kleines Proggie mit nem SDI - View geschrieben.<br />
Ich mochte jetzt die Höhe und die Breite meines SDI Views ändern.<br />
Ich dachte das geht in OnPrepareDC :</p>
<pre><code class="language-cpp">void CSiebView::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo) 
{
	pDC-&gt;SetWindowExt (100,100);

	CView::OnPrepareDC(pDC, pInfo);
}
</code></pre>
<p>klappt aber net, wisst ihr Rat<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> ?</p>
<p>Vielen Dank schon mal<br />
ShadowEater</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236360</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236360</guid><dc:creator><![CDATA[ShadowEater]]></dc:creator><pubDate>Tue, 27 Feb 2007 18:29:30 GMT</pubDate></item><item><title><![CDATA[Reply to Grösse eines SDI ändern on Tue, 27 Feb 2007 20:48:34 GMT]]></title><description><![CDATA[<p>Ich mein natürlich aus dem Code heraus vergrössern, nicht durch ziehen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>ShadowEater</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236435</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236435</guid><dc:creator><![CDATA[ShadowEater]]></dc:creator><pubDate>Tue, 27 Feb 2007 20:48:34 GMT</pubDate></item><item><title><![CDATA[Reply to Grösse eines SDI ändern on Tue, 27 Feb 2007 21:36:45 GMT]]></title><description><![CDATA[<p>MoveWindow oder SetWindowPos tut dies.<br />
Von wo aus möchtest Du denn die Größe ändern?<br />
Handelt es sich um ein CFormView? Dann suchst Du vielleicht ResizeParentToFit?<br />
<a href="http://msdn2.microsoft.com/en-us/2c6ye477(VS.80).aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/2c6ye477(VS.80).aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236458</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236458</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 27 Feb 2007 21:36:45 GMT</pubDate></item><item><title><![CDATA[Reply to Grösse eines SDI ändern on Wed, 28 Feb 2007 11:25:28 GMT]]></title><description><![CDATA[<p>Hi Martin,</p>
<p>danke für Deine Antwort, hab folgenden Fehler gemacht : In PreCreateWindow der Viw Klasse habe ich das Createstruct geändert und mich gewundert warum es nicht klappt. Bin nicht weiter gekommen und habe dann die Möglichkeit die ich als erstes gepostet hab versucht(reine Verzweiflung).</p>
<p>Lösung:</p>
<pre><code class="language-cpp">BOOL CMainFrame::PreCreateWindow(CREATESTRUCT&amp; cs)
{
	if( !CFrameWnd::PreCreateWindow(cs) )
		return FALSE;
	// ZU ERLEDIGEN: Ändern Sie hier die Fensterklasse oder das Erscheinungsbild, indem Sie
	//  CREATESTRUCT cs modifizieren.
	cs.style = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME  |  FWS_ADDTOTITLE; 
	cs.cx = 200;
	cs.cy = 200;
	return TRUE;
}
</code></pre>
<p>Createstruct im MainFrame ändern, dann klappts !</p>
<p>Hab aber jetzt noch ne Frage, kennst Du ein Tool Code farbig auszudrucken und zwar auch die Farben die VAX highLighted, also ganz genau so wie der Code in der IDE im Code-Fenster steht ?</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /><br />
Markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236701</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236701</guid><dc:creator><![CDATA[ShadowEater]]></dc:creator><pubDate>Wed, 28 Feb 2007 11:25:28 GMT</pubDate></item><item><title><![CDATA[Reply to Grösse eines SDI ändern on Wed, 28 Feb 2007 11:47:10 GMT]]></title><description><![CDATA[<p>Ähhhh. VA-X?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236714</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236714</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 28 Feb 2007 11:47:10 GMT</pubDate></item><item><title><![CDATA[Reply to Grösse eines SDI ändern on Wed, 28 Feb 2007 12:30:29 GMT]]></title><description><![CDATA[<p>Visual Assist-X von Whole Tomato, sach bloß den kennst Du nicht?</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /><br />
ShadowEater</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236755</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236755</guid><dc:creator><![CDATA[ShadowEater]]></dc:creator><pubDate>Wed, 28 Feb 2007 12:30:29 GMT</pubDate></item><item><title><![CDATA[Reply to Grösse eines SDI ändern on Wed, 28 Feb 2007 13:26:49 GMT]]></title><description><![CDATA[<p>ah Copy RTF to Clipboard ! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>P.S.: Martin war das Ähh ironisch gemeint ?</p>
<p>regards ShadowEater</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236802</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236802</guid><dc:creator><![CDATA[ShadowEater]]></dc:creator><pubDate>Wed, 28 Feb 2007 13:26:49 GMT</pubDate></item><item><title><![CDATA[Reply to Grösse eines SDI ändern on Wed, 28 Feb 2007 15:49:09 GMT]]></title><description><![CDATA[<p>ShadowEater schrieb:</p>
<blockquote>
<p>P.S.: Martin war das Ähh ironisch gemeint ?</p>
</blockquote>
<p>Upps irgendwer hat nach farbigem Ausdruck gefragt! Ich bin wohl durcheinandergekommen mit dem Thread!</p>
<p>Sorry!</p>
<p>Ich bin seit 1000 Jahren VA-X Kunde und habe sogar den Totel eines Toamten Gurus. <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="🙂"
    /> <a href="http://www.wholetomato.com/forum/members.asp" rel="nofollow">http://www.wholetomato.com/forum/members.asp</a></p>
<p>jemand erwähnte farbiges Drucken und möchste ein Addin und Du erwähnst VA-X...<br />
Nun das brachte mich zu einem staunenden Ähhh...<br />
Sorry wie gesagt anderer Thread. Vielleicht findeich ihn ja wieder <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236874</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236874</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 28 Feb 2007 15:49:09 GMT</pubDate></item><item><title><![CDATA[Reply to Grösse eines SDI ändern on Wed, 28 Feb 2007 16:03:24 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> <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="🙂"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>regards<br />
ShadowEater</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236881</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236881</guid><dc:creator><![CDATA[ShadowEater]]></dc:creator><pubDate>Wed, 28 Feb 2007 16:03:24 GMT</pubDate></item></channel></rss>