<?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[Übergabe funktioniert nicht]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe folgenden Funktion:</p>
<pre><code class="language-cpp">void CSeite9::OnFromadresslist() 
{
	if (m_MailListDlg.DoModal () == IDOK)	{
		m_MailListDlg.iStatus = 1;
	}
}
</code></pre>
<p>Beim OnInit von MailList Dialog rufe ich nun folgende Funktion auf:</p>
<pre><code class="language-cpp">void CMailListDlg::WhichList()
{
	switch (iStatus)	{

	case 1: SetWindowText(&quot;From adress&quot;);
			break;
	case 2: SetWindowText(&quot;To adress&quot;);
			break;
	case 3: SetWindowText(&quot;Subject&quot;);
			break;
	}
}
</code></pre>
<p>Jetzt habe ich aber ein kleines Problem: iStatus ist nämlich leer. Könt ihr mir sagen, wo mein Fehler ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/50414/übergabe-funktioniert-nicht</link><generator>RSS for Node</generator><lastBuildDate>Fri, 26 Jun 2026 17:32:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/50414.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Sep 2003 18:56:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Übergabe funktioniert nicht on Mon, 29 Sep 2003 18:56:47 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe folgenden Funktion:</p>
<pre><code class="language-cpp">void CSeite9::OnFromadresslist() 
{
	if (m_MailListDlg.DoModal () == IDOK)	{
		m_MailListDlg.iStatus = 1;
	}
}
</code></pre>
<p>Beim OnInit von MailList Dialog rufe ich nun folgende Funktion auf:</p>
<pre><code class="language-cpp">void CMailListDlg::WhichList()
{
	switch (iStatus)	{

	case 1: SetWindowText(&quot;From adress&quot;);
			break;
	case 2: SetWindowText(&quot;To adress&quot;);
			break;
	case 3: SetWindowText(&quot;Subject&quot;);
			break;
	}
}
</code></pre>
<p>Jetzt habe ich aber ein kleines Problem: iStatus ist nämlich leer. Könt ihr mir sagen, wo mein Fehler ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/362974</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/362974</guid><dc:creator><![CDATA[The MK]]></dc:creator><pubDate>Mon, 29 Sep 2003 18:56:47 GMT</pubDate></item><item><title><![CDATA[Reply to Übergabe funktioniert nicht on Mon, 29 Sep 2003 19:00:26 GMT]]></title><description><![CDATA[<p>Wie wärs, wenn du erst den Wert setzt, und dann den Dialog anzeigst?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/362978</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/362978</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Mon, 29 Sep 2003 19:00:26 GMT</pubDate></item><item><title><![CDATA[Reply to Übergabe funktioniert nicht on Mon, 29 Sep 2003 19:25:30 GMT]]></title><description><![CDATA[<p>Naja, jetzt , wo du es sagst, seh ich es auch. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /> Thx.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/362991</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/362991</guid><dc:creator><![CDATA[The MK]]></dc:creator><pubDate>Mon, 29 Sep 2003 19:25:30 GMT</pubDate></item></channel></rss>