<?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[CWnd*]]></title><description><![CDATA[<p>hallo</p>
<p>in meiner anwendung starte ich aus CMainFrame einen Dialog (DoModal()).</p>
<pre><code class="language-cpp">CDateiformate(CWnd* pParent = NULL);   // Standardkonstruktor im header
</code></pre>
<pre><code class="language-cpp">CDateiformate::CDateiformate(CWnd* pParent) /*=NULL*/
	: CDialog(CDateiformate::IDD, pParent)              

{
	//{{AFX_DATA_INIT(CDateiformate)
	m_strZielpfad = _T(&quot;&quot;);
	m_strCFormat = _T(&quot;&quot;);
	m_strCResolution = _T(&quot;&quot;);
	m_Edit_Quelle=&quot;&quot;;
	m_bSaveEnable = FALSE;
	//}}AFX_DATA_INIT

	m_bAllesFertig = false;

} /*implentierung*/
</code></pre>
<p>.</p>
<p>wie kann ich dem dialog einen CWnd* poiner auf mein MainFrame übergeben?</p>
<p>danke U.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/51718/cwnd</link><generator>RSS for Node</generator><lastBuildDate>Sun, 31 May 2026 16:03:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/51718.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Oct 2003 11:29:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CWnd* on Mon, 13 Oct 2003 11:29:08 GMT]]></title><description><![CDATA[<p>hallo</p>
<p>in meiner anwendung starte ich aus CMainFrame einen Dialog (DoModal()).</p>
<pre><code class="language-cpp">CDateiformate(CWnd* pParent = NULL);   // Standardkonstruktor im header
</code></pre>
<pre><code class="language-cpp">CDateiformate::CDateiformate(CWnd* pParent) /*=NULL*/
	: CDialog(CDateiformate::IDD, pParent)              

{
	//{{AFX_DATA_INIT(CDateiformate)
	m_strZielpfad = _T(&quot;&quot;);
	m_strCFormat = _T(&quot;&quot;);
	m_strCResolution = _T(&quot;&quot;);
	m_Edit_Quelle=&quot;&quot;;
	m_bSaveEnable = FALSE;
	//}}AFX_DATA_INIT

	m_bAllesFertig = false;

} /*implentierung*/
</code></pre>
<p>.</p>
<p>wie kann ich dem dialog einen CWnd* poiner auf mein MainFrame übergeben?</p>
<p>danke U.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/371178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/371178</guid><dc:creator><![CDATA[UweM]]></dc:creator><pubDate>Mon, 13 Oct 2003 11:29:08 GMT</pubDate></item><item><title><![CDATA[Reply to CWnd* on Mon, 13 Oct 2003 11:52:45 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>wnn ich dich richtig verstanden habe, so möchtest du aus deinem mainFrame einen dialog aufrufen. Wenn das so ist kannst du mal bei der deklaration der Dialogvariable ein &quot;CDateiformate oDlg(this);&quot; probieren...<br />
...evtl. mußt du einen Zeiger verwenden...bin mir da nicht mehr so ganz sicher...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/371194</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/371194</guid><dc:creator><![CDATA[Hexagon]]></dc:creator><pubDate>Mon, 13 Oct 2003 11:52:45 GMT</pubDate></item><item><title><![CDATA[Reply to CWnd* on Mon, 13 Oct 2003 11:59:54 GMT]]></title><description><![CDATA[<p>ja... genau das meine ich.<br />
aber wenn ich den this-ptr übergebe und dann auch den Konstruktor anpasse<br />
mault er immer: error C2059: Syntaxfehler : 'this'</p>
]]></description><link>https://www.c-plusplus.net/forum/post/371208</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/371208</guid><dc:creator><![CDATA[UweM]]></dc:creator><pubDate>Mon, 13 Oct 2003 11:59:54 GMT</pubDate></item><item><title><![CDATA[Reply to CWnd* on Mon, 13 Oct 2003 12:41:38 GMT]]></title><description><![CDATA[<p>dann probier mal ein &quot;CDateiformate* lpoDlg = new CDateiformate(this);&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/371237</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/371237</guid><dc:creator><![CDATA[Hexagon]]></dc:creator><pubDate>Mon, 13 Oct 2003 12:41:38 GMT</pubDate></item><item><title><![CDATA[Reply to CWnd* on Tue, 14 Oct 2003 06:30:24 GMT]]></title><description><![CDATA[<p>gut.... aber ich verstehte allein schon den default-konstruktor :</p>
<p>CDateiformate::CDateiformate(CWnd* pParent) /<em>=NULL</em>/<br />
: CDialog(CDateiformate::IDD, pParent)</p>
<p>nicht. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /><br />
was bedeutet die 2. Zeile?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/371595</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/371595</guid><dc:creator><![CDATA[UweM]]></dc:creator><pubDate>Tue, 14 Oct 2003 06:30:24 GMT</pubDate></item><item><title><![CDATA[Reply to CWnd* on Tue, 14 Oct 2003 06:55:14 GMT]]></title><description><![CDATA[<p>Das bedeutet, dass der Konstruktor der Basisklasse aufgerufen wird.<br />
An diesen wird die ID des Dialogs und das ParentWindow weitergereicht.</p>
<p>MfG.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/371610</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/371610</guid><dc:creator><![CDATA[Wonko]]></dc:creator><pubDate>Tue, 14 Oct 2003 06:55:14 GMT</pubDate></item><item><title><![CDATA[Reply to CWnd* on Tue, 14 Oct 2003 06:58:44 GMT]]></title><description><![CDATA[<p>aha... aber woher hat er das parent-fenster, wenn es im header mit NULL<br />
initialisiert wird?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/371616</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/371616</guid><dc:creator><![CDATA[UweM]]></dc:creator><pubDate>Tue, 14 Oct 2003 06:58:44 GMT</pubDate></item></channel></rss>