<?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[CMDIFrameWnd als Child von CWnd]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe ein CMDIFrameWnd welches als Child in einem Rahmenfensters erstellt werden soll.</p>
<p>Das mache ich so:</p>
<pre><code class="language-cpp">m_pMainWindow-&gt;LoadFrame(IDR_MAINFRAME,WS_CHILD | WS_VISIBLE,m_ParentWnd,NULL);
</code></pre>
<p>Das funktioniert auch soweit.</p>
<p>Ist es möglich m_pMainWindow zuerst standalone zu erzeugen</p>
<pre><code class="language-cpp">m_pMainWindow-&gt;LoadFrame(IDR_MAINFRAME,WS_VISIBLE,NULL,NULL)
</code></pre>
<p>und dann zu einem späteren Zeitpunkt an mein Rahmenfenster zu hängen?</p>
<p>Oder muss dass beim erstellen schon feststehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/147414/cmdiframewnd-als-child-von-cwnd</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 03:55:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/147414.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 May 2006 15:40:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CMDIFrameWnd als Child von CWnd on Tue, 16 May 2006 16:37:32 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe ein CMDIFrameWnd welches als Child in einem Rahmenfensters erstellt werden soll.</p>
<p>Das mache ich so:</p>
<pre><code class="language-cpp">m_pMainWindow-&gt;LoadFrame(IDR_MAINFRAME,WS_CHILD | WS_VISIBLE,m_ParentWnd,NULL);
</code></pre>
<p>Das funktioniert auch soweit.</p>
<p>Ist es möglich m_pMainWindow zuerst standalone zu erzeugen</p>
<pre><code class="language-cpp">m_pMainWindow-&gt;LoadFrame(IDR_MAINFRAME,WS_VISIBLE,NULL,NULL)
</code></pre>
<p>und dann zu einem späteren Zeitpunkt an mein Rahmenfenster zu hängen?</p>
<p>Oder muss dass beim erstellen schon feststehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1059002</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1059002</guid><dc:creator><![CDATA[souso20]]></dc:creator><pubDate>Tue, 16 May 2006 16:37:32 GMT</pubDate></item><item><title><![CDATA[Reply to CMDIFrameWnd als Child von CWnd on Tue, 16 May 2006 17:31:04 GMT]]></title><description><![CDATA[<p>Ich weiß nicht ob dies die MFC erlaubt. Grund ist, dass die MFC Fenster in der Doc/View Architektur immer ein Parent Frame brauchen. Warum möchtest Du das machen?</p>
<p>Theoretisch kann man einem Fenster ein neues Parent mit SetParent zuweisen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1059065</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1059065</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 16 May 2006 17:31:04 GMT</pubDate></item></channel></rss>