<?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[Dialogfeldbasierte Anwendung maximiert starten]]></title><description><![CDATA[<p>guten morgen,</p>
<p>wie kann ich meine dialogfeldbasierte anwendung gleich von beginn an maximiert öffnen?<br />
wenn ich in der *.rc bei STYLE den WS_MAXIMIZE dazufüge, dann öffnet er mir mein Fenster noch immer in der gleichen größe, hängt es aber zumindest mal an die linke obere bildschirmecke. vielleicht habe ich da irgendwas vergessen.<br />
irgendwie muss ich doch vereinbaren können, dass der Button &quot;maximieren&quot; gleich ausgeführt wird.</p>
<p>i need help.</p>
<p>Grüße<br />
Andrea</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/151229/dialogfeldbasierte-anwendung-maximiert-starten</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Jul 2026 08:33:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/151229.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Jun 2006 08:33:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dialogfeldbasierte Anwendung maximiert starten on Sat, 24 Jun 2006 08:33:06 GMT]]></title><description><![CDATA[<p>guten morgen,</p>
<p>wie kann ich meine dialogfeldbasierte anwendung gleich von beginn an maximiert öffnen?<br />
wenn ich in der *.rc bei STYLE den WS_MAXIMIZE dazufüge, dann öffnet er mir mein Fenster noch immer in der gleichen größe, hängt es aber zumindest mal an die linke obere bildschirmecke. vielleicht habe ich da irgendwas vergessen.<br />
irgendwie muss ich doch vereinbaren können, dass der Button &quot;maximieren&quot; gleich ausgeführt wird.</p>
<p>i need help.</p>
<p>Grüße<br />
Andrea</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1084348</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1084348</guid><dc:creator><![CDATA[andrea19791]]></dc:creator><pubDate>Sat, 24 Jun 2006 08:33:06 GMT</pubDate></item><item><title><![CDATA[Reply to Dialogfeldbasierte Anwendung maximiert starten on Sat, 24 Jun 2006 09:12:49 GMT]]></title><description><![CDATA[<p>Grundsätzlich ist dafür CWnd::<strong>S</strong>how<strong>W</strong>indow(...) zuständig. Siehe dort die Styles SW_... , z.B. <strong>SW_SHOWMAXIMIZED</strong> Activates the window and displays it as a maximized window. <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wcemfc4/html/aflrfcwndcolcolshowwindow.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wcemfc4/html/aflrfcwndcolcolshowwindow.asp</a><br />
Nicht verwechseln mit den WS_... (<strong>W</strong>indow <strong>S</strong>tyles)<br />
<a href="http://www.henkessoft.de/C++/MFC/mfc_einsteigerbuch_kapitel1.htm#Styles" rel="nofollow">http://www.henkessoft.de/C++/MFC/mfc_einsteigerbuch_kapitel1.htm#Styles</a></p>
<p>D.h. Du kannst in OnInitDialog(...) folgende Funktion aufrufen:</p>
<pre><code class="language-cpp">this-&gt;ShowWindow(SW_SHOWMAXIMIZED);
</code></pre>
<p>Dann hängt Dein Dialog in allen vier Ecken, egal, ob Du einen MAXIMIZE-Button vorgesehen hast oder nicht. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1084359</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1084359</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Sat, 24 Jun 2006 09:12:49 GMT</pubDate></item><item><title><![CDATA[Reply to Dialogfeldbasierte Anwendung maximiert starten on Sat, 24 Jun 2006 10:07:41 GMT]]></title><description><![CDATA[<p>supiiiiiiiii,<br />
vielen herzlichen Dank, das hat geklappt.</p>
<p>danke vielmals.</p>
<p>grüße<br />
andrea <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1084383</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1084383</guid><dc:creator><![CDATA[andrea19791]]></dc:creator><pubDate>Sat, 24 Jun 2006 10:07:41 GMT</pubDate></item></channel></rss>