<?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[Problem bei MessageBox]]></title><description><![CDATA[<p>Hallo,<br />
wie kann ich abfragen welche Taste bei einer MessageBox gedrückt wurde wenn 3 zur Wahl stehen?<br />
Ich habe es mal so versucht (bei 2 Buttons kommt die MessageBox allerdings noch mal)</p>
<pre><code class="language-cpp">if(Application-&gt;MessageBox(&quot;Abbrechen, Wiederholen oder Ignorieren?&quot;,&quot;&quot;,2) == IDABORT)
  {
  Label1-&gt;Caption=&quot;Abbrechen&quot;;
  }
else if(Application-&gt;MessageBox(&quot;Abbrechen, Wiederholen oder Ignorieren?&quot;,&quot;&quot;,2) == IDRETRY)
  {
  Label1-&gt;Caption=&quot;Wiederholen&quot;;
  }
else
  {
  Label1-&gt;Caption=&quot;Ignorieren&quot;;
  }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/158644/problem-bei-messagebox</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 16:50:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/158644.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Sep 2006 09:47:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem bei MessageBox on Thu, 07 Sep 2006 09:47:30 GMT]]></title><description><![CDATA[<p>Hallo,<br />
wie kann ich abfragen welche Taste bei einer MessageBox gedrückt wurde wenn 3 zur Wahl stehen?<br />
Ich habe es mal so versucht (bei 2 Buttons kommt die MessageBox allerdings noch mal)</p>
<pre><code class="language-cpp">if(Application-&gt;MessageBox(&quot;Abbrechen, Wiederholen oder Ignorieren?&quot;,&quot;&quot;,2) == IDABORT)
  {
  Label1-&gt;Caption=&quot;Abbrechen&quot;;
  }
else if(Application-&gt;MessageBox(&quot;Abbrechen, Wiederholen oder Ignorieren?&quot;,&quot;&quot;,2) == IDRETRY)
  {
  Label1-&gt;Caption=&quot;Wiederholen&quot;;
  }
else
  {
  Label1-&gt;Caption=&quot;Ignorieren&quot;;
  }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1132834</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1132834</guid><dc:creator><![CDATA[Message-Boxer]]></dc:creator><pubDate>Thu, 07 Sep 2006 09:47:30 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei MessageBox on Thu, 07 Sep 2006 09:51:17 GMT]]></title><description><![CDATA[<p>Indem Du den Rückgabwert der Messagbox in einer int zwischenspeicherst</p>
<pre><code class="language-cpp">int iMsgResult = Application...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1132835</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1132835</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Thu, 07 Sep 2006 09:51:17 GMT</pubDate></item></channel></rss>