<?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[Fenster Minimalgröße festlegen?]]></title><description><![CDATA[<p>Wie lege ich die Größe des Fensters fest, wenn eine bestimmte Grenze unterschritten wurde?</p>
<pre><code class="language-cpp">void CMyDlg::OnSize(UINT nType, int cx, int cy) {

	if (cy &lt; 100) {
		CRect rctDlg;
		//this-&gt;GetParent-&gt;GetWindowRect(rctDlg); // Das hier geht nicht.
		this-&gt;MoveWindow(10, 10, rctDlg.Width()/2, rctDlg.Height()/2);
	}
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/182410/fenster-minimalgröße-festlegen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 13:55:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/182410.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 May 2007 18:35:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fenster Minimalgröße festlegen? on Thu, 24 May 2007 18:35:20 GMT]]></title><description><![CDATA[<p>Wie lege ich die Größe des Fensters fest, wenn eine bestimmte Grenze unterschritten wurde?</p>
<pre><code class="language-cpp">void CMyDlg::OnSize(UINT nType, int cx, int cy) {

	if (cy &lt; 100) {
		CRect rctDlg;
		//this-&gt;GetParent-&gt;GetWindowRect(rctDlg); // Das hier geht nicht.
		this-&gt;MoveWindow(10, 10, rctDlg.Width()/2, rctDlg.Height()/2);
	}
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1291657</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1291657</guid><dc:creator><![CDATA[Jakata]]></dc:creator><pubDate>Thu, 24 May 2007 18:35:20 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Minimalgröße festlegen? on Fri, 25 May 2007 07:31:02 GMT]]></title><description><![CDATA[<p>WM_GETMINMAXINFO ist der Schlüssel dazu<br />
<a href="http://msdn2.microsoft.com/en-us/library/ms632626.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/ms632626.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1291959</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1291959</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 25 May 2007 07:31:02 GMT</pubDate></item></channel></rss>