<?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[Fenstergröße begrenzen]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>ich möchte diesen Tip (Fenstergröße begrenzen) anwenden:<br />
<a href="http://www.cpp-tutor.de/mfc/mfc/kap3/tut/tut1.htm" rel="nofollow">http://www.cpp-tutor.de/mfc/mfc/kap3/tut/tut1.htm</a></p>
<pre><code>void CMainFrame::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI)  {
    // TODO: Code für die Behandlungsroutine für Nachrichten hier einfügen ....

    lpMMI-&gt;ptMinTrackSize.x = 300;
</code></pre>
<p>Im MFC ClassWizard finde ich aber keine WM_GetMinMaxInfo. In der Klasse zu meinem Hauptfenster finde ich die MessageLoop:</p>
<pre><code class="language-cpp">BEGIN_MESSAGE_MAP(CMyDlg, CDialog)
	//{{AFX_MSG_MAP(CMyDlg)
	ON_WM_SYSCOMMAND()
	ON_WM_PAINT()
	ON_WM_QUERYDRAGICON()
	ON_BN_CLICKED(IDC_BUTTON_START, OnButtonStart)
	ON_WM_SIZE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()
</code></pre>
<p>Muß ich da manuell die Sachen einfügen? In dem Tutorial stand das man das vom Wizard generierte Zeug nicht ändern solle...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/182502/fenstergröße-begrenzen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 05:36:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/182502.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 May 2007 16:09:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fenstergröße begrenzen on Fri, 25 May 2007 16:09:35 GMT]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>ich möchte diesen Tip (Fenstergröße begrenzen) anwenden:<br />
<a href="http://www.cpp-tutor.de/mfc/mfc/kap3/tut/tut1.htm" rel="nofollow">http://www.cpp-tutor.de/mfc/mfc/kap3/tut/tut1.htm</a></p>
<pre><code>void CMainFrame::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI)  {
    // TODO: Code für die Behandlungsroutine für Nachrichten hier einfügen ....

    lpMMI-&gt;ptMinTrackSize.x = 300;
</code></pre>
<p>Im MFC ClassWizard finde ich aber keine WM_GetMinMaxInfo. In der Klasse zu meinem Hauptfenster finde ich die MessageLoop:</p>
<pre><code class="language-cpp">BEGIN_MESSAGE_MAP(CMyDlg, CDialog)
	//{{AFX_MSG_MAP(CMyDlg)
	ON_WM_SYSCOMMAND()
	ON_WM_PAINT()
	ON_WM_QUERYDRAGICON()
	ON_BN_CLICKED(IDC_BUTTON_START, OnButtonStart)
	ON_WM_SIZE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()
</code></pre>
<p>Muß ich da manuell die Sachen einfügen? In dem Tutorial stand das man das vom Wizard generierte Zeug nicht ändern solle...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1292330</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1292330</guid><dc:creator><![CDATA[Jakata]]></dc:creator><pubDate>Fri, 25 May 2007 16:09:35 GMT</pubDate></item><item><title><![CDATA[Reply to Fenstergröße begrenzen on Sun, 27 May 2007 16:18:33 GMT]]></title><description><![CDATA[<p>Wenn Du VC6 hast, musst Du den Fenstertyp im letzten Karteireiter des Classwízards von Dialog auf Fenster ändern.<br />
Der Classwizard zeigt nicht alle Nachrichten für Dialoge an.</p>
<p>Aber Du kannst auch ein ON_WM_GETMINMAXINFO in die Messagemap eintragen. Man muss ja nicht alles mit dem Wizard machen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1293184</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1293184</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Sun, 27 May 2007 16:18:33 GMT</pubDate></item><item><title><![CDATA[Reply to Fenstergröße begrenzen on Thu, 31 May 2007 10:28:31 GMT]]></title><description><![CDATA[<p>Vielen Dank <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1295801</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1295801</guid><dc:creator><![CDATA[Jakata]]></dc:creator><pubDate>Thu, 31 May 2007 10:28:31 GMT</pubDate></item></channel></rss>