<?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öße eines Splitters anpassen]]></title><description><![CDATA[<p>Hallo nochmal,</p>
<p>hab noch ein anderes Problem.<br />
Ich hab ein SplitterWindow mit 2 Spalten. Wenn ich nun die Größe des Fensters ändere soll sich die Grenze genauso anpassen, d.h. nicht wie bei mir, wo sie sich nicht dynamisch ändert. Was muss ich tun?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/50838/größe-eines-splitters-anpassen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 31 May 2026 08:58:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/50838.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Oct 2003 19:57:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Größe eines Splitters anpassen on Fri, 03 Oct 2003 19:57:17 GMT]]></title><description><![CDATA[<p>Hallo nochmal,</p>
<p>hab noch ein anderes Problem.<br />
Ich hab ein SplitterWindow mit 2 Spalten. Wenn ich nun die Größe des Fensters ändere soll sich die Grenze genauso anpassen, d.h. nicht wie bei mir, wo sie sich nicht dynamisch ändert. Was muss ich tun?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365625</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365625</guid><dc:creator><![CDATA[Slayer]]></dc:creator><pubDate>Fri, 03 Oct 2003 19:57:17 GMT</pubDate></item><item><title><![CDATA[Reply to Größe eines Splitters anpassen on Sat, 04 Oct 2003 14:03:24 GMT]]></title><description><![CDATA[<p>Hat keiner eine Idee, vielleicht was mit OnSize ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365847</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365847</guid><dc:creator><![CDATA[Slayer]]></dc:creator><pubDate>Sat, 04 Oct 2003 14:03:24 GMT</pubDate></item><item><title><![CDATA[Reply to Größe eines Splitters anpassen on Sat, 04 Oct 2003 14:21:37 GMT]]></title><description><![CDATA[<p>Ich hab das jetzt mal so probiert (in OnSize), es funktioniert aber nicht und stürzt mit einer Access Violation ab:</p>
<pre><code class="language-cpp">void CMainFrame::OnSize(UINT nType, int cx, int cy) 
{
	CFrameWnd::OnSize(nType, cx, cy);

	// TODO: Code für die Behandlungsroutine für Nachrichten hier einfügen

	CRect rect;
	GetClientRect(rect);

	m_wndSplitter.SetRowInfo(0,rect.Height(),1);
	m_wndSplitter.SetColumnInfo(0,rect.Width()*3/4,1);
	m_wndSplitter.SetColumnInfo(0,rect.Width()/4,1);

	m_wndSplitter.RecalcLayout();
}
</code></pre>
<p>Warum funktioniert das nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/365854</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/365854</guid><dc:creator><![CDATA[Slayer]]></dc:creator><pubDate>Sat, 04 Oct 2003 14:21:37 GMT</pubDate></item></channel></rss>