<?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[Alle Fenster Minimieren]]></title><description><![CDATA[<p>Hallo,<br />
wie kann ich alle geöffneten Fenster minimieren?<br />
Sollte irgendwie mit ShowWindow() gehen, aber wie bekomm ich alle HWND's der Fenster?</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/232334/alle-fenster-minimieren</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 13:24:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/232334.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Jan 2009 17:19:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Alle Fenster Minimieren on Wed, 21 Jan 2009 17:19:11 GMT]]></title><description><![CDATA[<p>Hallo,<br />
wie kann ich alle geöffneten Fenster minimieren?<br />
Sollte irgendwie mit ShowWindow() gehen, aber wie bekomm ich alle HWND's der Fenster?</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1649713</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1649713</guid><dc:creator><![CDATA[Arr0ws]]></dc:creator><pubDate>Wed, 21 Jan 2009 17:19:11 GMT</pubDate></item><item><title><![CDATA[Reply to Alle Fenster Minimieren on Wed, 21 Jan 2009 17:36:42 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &quot;shldisp.h&quot;

int main()
{
	IShellDispatch *sh;
	Coinitialize(0);
	CoCreateInstance(CLSID_Shell, 0, CLSCTX_INPROC_SERVER, IID_IShellDispatch, (void**)&amp;sh);
	sh-&gt;MinimizeAll();
	sh-&gt;Release();
	CoUninitialize();
	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1649725</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1649725</guid><dc:creator><![CDATA[sapero]]></dc:creator><pubDate>Wed, 21 Jan 2009 17:36:42 GMT</pubDate></item><item><title><![CDATA[Reply to Alle Fenster Minimieren on Wed, 21 Jan 2009 18:25:56 GMT]]></title><description><![CDATA[<p>Habs jetzt mit EnumWindows gemacht, aber da tauchen dann über 100 Fenster auf, wahrscheinlich auch alle, die versteckt sind.<br />
Gibts ne Möglichkeit, diese zu &quot;filtern&quot;?</p>
<p>Hier der Momentane Code:</p>
<pre><code class="language-cpp">BOOL CALLBACK EnumProc(HWND hWnd, LPARAM lParam)
{
    ShowWindow(hWnd, SW_NORMAL);
  return(TRUE);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1649748</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1649748</guid><dc:creator><![CDATA[Arr0ws]]></dc:creator><pubDate>Wed, 21 Jan 2009 18:25:56 GMT</pubDate></item><item><title><![CDATA[Reply to Alle Fenster Minimieren on Wed, 21 Jan 2009 18:31:27 GMT]]></title><description><![CDATA[<p><a href="http://letmegooglethatforyou.com/?q=winapi+sichtbare+fenster" rel="nofollow">http://letmegooglethatforyou.com/?q=winapi+sichtbare+fenster</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1649752</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1649752</guid><dc:creator><![CDATA[EineMöglichkeit]]></dc:creator><pubDate>Wed, 21 Jan 2009 18:31:27 GMT</pubDate></item><item><title><![CDATA[Reply to Alle Fenster Minimieren on Wed, 21 Jan 2009 18:31:48 GMT]]></title><description><![CDATA[<p>Mit SW_NORMAL minimiert man auch keine Fenster ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1649753</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1649753</guid><dc:creator><![CDATA[O.o]]></dc:creator><pubDate>Wed, 21 Jan 2009 18:31:48 GMT</pubDate></item><item><title><![CDATA[Reply to Alle Fenster Minimieren on Wed, 21 Jan 2009 19:34:10 GMT]]></title><description><![CDATA[<p>Jup das geht mit WM_MINIMIZE, ich hab das nur gemacht, weil bei Minimize nicht nur alle 150 Fenster angezeigt werden, sondern dann auch noch Vista hängen bleibt</p>
<p>Es geht jetzt - mit Enum Windows:</p>
<pre><code class="language-cpp">static BOOL WINAPI MyEnumProc(HWND hWnd, LPARAM)
{
   RECT rect;
   GetWindowRect(hWnd, &amp;rect);

   if(hWnd != NULL            &amp;&amp;  // sanity
      IsWindow(hWnd)          &amp;&amp;  // sanity
      IsWindowVisible(hWnd)   &amp;&amp;  // not hidden
      GetParent(hWnd) == NULL &amp;&amp;  // has no parent
      !IsIconic(hWnd)         &amp;&amp;  // not already minimized
      rect.right &gt; rect.left  &amp;&amp;  // some windows have funky size
      rect.bottom &gt; rect.top)
      CloseWindow(hWnd);

   return TRUE;
}

// UND DANN

EnumWindows(MyEnumProc, 0);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1649809</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1649809</guid><dc:creator><![CDATA[~Arr0ws]]></dc:creator><pubDate>Wed, 21 Jan 2009 19:34:10 GMT</pubDate></item><item><title><![CDATA[Reply to Alle Fenster Minimieren on Wed, 21 Jan 2009 20:33:26 GMT]]></title><description><![CDATA[<p>Ich habe mal eine Frage, ist es möglich mit einer kleinen Funktion das man mit der Maus irgentwelche Fenster auf den Desktop anklickt und diese sich dann verkleinern und in einem anderen Fenster nebeneinander anordnen.<br />
So das eine Art Diashow von den Fenstern entstehen, wäre für die Hilfe wirklich dankbar.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1649847</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1649847</guid><dc:creator><![CDATA[Holger M.]]></dc:creator><pubDate>Wed, 21 Jan 2009 20:33:26 GMT</pubDate></item></channel></rss>