<?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[Minimieren-Schaltfläche]]></title><description><![CDATA[<p>Hi,</p>
<p>wie kann ich auf die Minimieren-Schalfläche rechts oben in jedem Fenster zugreifen? Also z.B. ne MessageBox beim minimieren anzeigen.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/5696/minimieren-schaltfläche</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 08:21:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/5696.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Dec 2002 17:34:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Minimieren-Schaltfläche on Mon, 09 Dec 2002 17:34:00 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>wie kann ich auf die Minimieren-Schalfläche rechts oben in jedem Fenster zugreifen? Also z.B. ne MessageBox beim minimieren anzeigen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27706</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27706</guid><dc:creator><![CDATA[DocReggae]]></dc:creator><pubDate>Mon, 09 Dec 2002 17:34:00 GMT</pubDate></item><item><title><![CDATA[Reply to Minimieren-Schaltfläche on Mon, 09 Dec 2002 18:42:00 GMT]]></title><description><![CDATA[<p>Auf Dialogfeld basierende Anwendung mit Minimieren-Schaltfläche erzeugen, Funktion für Nachricht WM_SIZE einfügen, SIZE_MINIMIZED abfragen:</p>
<pre><code class="language-cpp">void CMinimizeDlg::OnSize(UINT nType, int cx, int cy) 
{
    CDialog::OnSize(nType, cx, cy);

    if ( nType == SIZE_MINIMIZED ) MessageBox(&quot;Minimiert&quot;);  
}
</code></pre>
<p>That's it. <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/27707</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27707</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Mon, 09 Dec 2002 18:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to Minimieren-Schaltfläche on Mon, 09 Dec 2002 20:02:00 GMT]]></title><description><![CDATA[<p>Nicht schlecht. Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27708</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27708</guid><dc:creator><![CDATA[DocReggae]]></dc:creator><pubDate>Mon, 09 Dec 2002 20:02:00 GMT</pubDate></item><item><title><![CDATA[Reply to Minimieren-Schaltfläche on Tue, 10 Dec 2002 07:59:00 GMT]]></title><description><![CDATA[<p>2. Möglichkeit:<br />
WM_SYSCOMMAND abfangen und auf SC_MINIMIZE überprüfen.<br />
Hierbei muss nicht bei jeder WM_SIZE-Message auf SIZE_MINIMIZED abgeprüft werden</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27709</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27709</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Tue, 10 Dec 2002 07:59:00 GMT</pubDate></item><item><title><![CDATA[Reply to Minimieren-Schaltfläche on Wed, 07 May 2003 11:24:00 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>ich habe diesen beitrag gefunden und habe es ausprobiert. d.h. ich habe die funktion</p>
<p>afx_msg void OnSize(UINT nType,int cx,int cy);</p>
<p>in meinem header deklariert und rufe sie in CTestDlg.cpp auf.</p>
<p>void CRegEditDlg::OnSize(UINT nType, int cx, int cy)<br />
{<br />
CDialog::OnSize(nType, cx, cy);</p>
<p>if (nType ==SIZE_MINIMIZED)<br />
MessageBox(&quot;fghjk&quot;);</p>
<p>}</p>
<p>aber irgendwie kommt das programm da nich vorbei wenn ich die minimieren-taste drücke. in der msdn steht, dass das framework beim drücken der taste automatisch die OnSize aufruft. mache ich etwas falsch?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27710</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27710</guid><dc:creator><![CDATA[Tody]]></dc:creator><pubDate>Wed, 07 May 2003 11:24:00 GMT</pubDate></item><item><title><![CDATA[Reply to Minimieren-Schaltfläche on Wed, 07 May 2003 11:29:00 GMT]]></title><description><![CDATA[<p>sorry, meine finger waren schneller als mein kopf. ich habs jetzt.</p>
<p>ich musste noch ON_WM_SIZE() eintragen</p>
<p>trotzdem danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27711</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27711</guid><dc:creator><![CDATA[Tody]]></dc:creator><pubDate>Wed, 07 May 2003 11:29:00 GMT</pubDate></item></channel></rss>