<?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[Position und Größe einer externen Anwendung]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich die Bildschirmposition und Größe beim Öffnen einer externen Anwendung (z.B. Windows-Explorer) festlegen?</p>
<p>Gruß<br />
Leo</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/132489/position-und-größe-einer-externen-anwendung</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 17:27:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/132489.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Jan 2006 11:36:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Position und Größe einer externen Anwendung on Wed, 11 Jan 2006 11:36:27 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich die Bildschirmposition und Größe beim Öffnen einer externen Anwendung (z.B. Windows-Explorer) festlegen?</p>
<p>Gruß<br />
Leo</p>
]]></description><link>https://www.c-plusplus.net/forum/post/963431</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/963431</guid><dc:creator><![CDATA[Leo Freitag]]></dc:creator><pubDate>Wed, 11 Jan 2006 11:36:27 GMT</pubDate></item><item><title><![CDATA[Reply to Position und Größe einer externen Anwendung on Wed, 11 Jan 2006 11:50:38 GMT]]></title><description><![CDATA[<p>mit SendMessage eine WM_SIZE Botschaft an die andere Anwendung senden. Ob sie darauf reagiert hängt dann von der Anwendung ab</p>
<p>Andere Anwendung finden:</p>
<p><a href="http://www.marquardtnet.info/cecke/quickies.1/1_quicky_34.html" rel="nofollow">http://www.marquardtnet.info/cecke/quickies.1/1_quicky_34.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/963442</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/963442</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Wed, 11 Jan 2006 11:50:38 GMT</pubDate></item><item><title><![CDATA[Reply to Position und Größe einer externen Anwendung on Wed, 11 Jan 2006 21:59:40 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=437" rel="nofollow">Jansen</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=2" rel="nofollow">VCL/CLX (Borland C++ Builder)</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/964106</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964106</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Wed, 11 Jan 2006 21:59:40 GMT</pubDate></item><item><title><![CDATA[Reply to Position und Größe einer externen Anwendung on Thu, 26 Jan 2006 12:33:14 GMT]]></title><description><![CDATA[<p>Um zwei Explorer-Fenster öffnen, habe ich den Code wie folgt angepasst.</p>
<pre><code class="language-cpp">String cExplorerA = &quot;c:\\testfeld\\t1&quot;;
String cExplorerB = &quot;c:\\testfeld\\t2&quot;;

String cAction = &quot;explore&quot;;
ShellExecute(0, cAction.c_str(), cExplorerA.c_str(), &quot;&quot;, &quot;&quot;, 1);
ShellExecute(0, cAction.c_str(), cExplorerB.c_str(), &quot;&quot;, &quot;&quot;, 1);

// Fensterhandle holen
HWND hWinExplorerA = FindWindow(NULL, cExplorerA.c_str());
HWND hWinExplorerB = FindWindow(NULL, cExplorerB.c_str());

MoveWindow(hWinExplorerA, 100, 100, 600, 300, true);
MoveWindow(hWinExplorerB, 100, 450, 600, 300, true);
</code></pre>
<p>Das Fenster ExplorerA wird in Größe und Position wie gewünscht angezeigt, ExplorerB erscheint von den Positionsvorgaben unbeeindruckt in Größe und Position wie bei einem früheren Aufruf.</p>
<p>Was geht hier vor?</p>
<p>Gruß Leo</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967556</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967556</guid><dc:creator><![CDATA[Leo Freitag]]></dc:creator><pubDate>Thu, 26 Jan 2006 12:33:14 GMT</pubDate></item><item><title><![CDATA[Reply to Position und Größe einer externen Anwendung on Sun, 15 Jan 2006 21:45:10 GMT]]></title><description><![CDATA[<p>Theoretisch geht auch noch folgendes:</p>
<pre><code class="language-cpp">STARTUPINFO si;
  ZeroMemory(&amp;si, sizeof(si));
  si.dwFlags = STARTF_USESIZE | STARTF_USEPOSITION;
  si.dwX = 100;
  si.dwY = 100;
  si.dwXSize = 200;
  si.dwYSize = 200;
  PROCESS_INFORMATION pi;
  LPTSTR szCmd = _tcsdup(_T(&quot;c:\\path-to\\my.exe&quot;));
  CreateProcess(NULL, szCmd, NULL, NULL, FALSE, 0, NULL, NULL, &amp;si, &amp;pi);
  free(szCmd);
</code></pre>
<p>Hängt aber von der aufzurufenden Applikation ab, ob die dies unterstützt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967576</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967576</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sun, 15 Jan 2006 21:45:10 GMT</pubDate></item></channel></rss>