<?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[MessageBox]]></title><description><![CDATA[<p>Also ich habe eine MessageBox, ich will aber das der Fokus nicht auf Ja sondern auf Nein ist. Wie bekomme ich das hin!?</p>
<pre><code class="language-cpp">void CDENDABR::OnBtnEndabDrk() 
{
	if (MessageBox(_T(&quot;Schichtabrechnung wirklich Drucken&quot;),_T(&quot;Bitte Warten&quot;), MB_YESNO) == IDYES)
	{
	//spPrinterCE-&gt;put_Rotation(2);
	//spPrinterCE-&gt;...(IDC_LST_ENDAB);
		MessageBox(_T(&quot;Endabrechnung wird gedruckt&quot;),_T(&quot;Bitte Warten&quot;),MB_OK);
	}
	else
	{
		MessageBox(_T(&quot;Endabrechnung wird nicht gedruckt&quot;),_T(&quot;Bitte Warten&quot;),MB_OK);
	}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/195498/messagebox</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 16:00:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/195498.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Oct 2007 11:09:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 11:09:39 GMT]]></title><description><![CDATA[<p>Also ich habe eine MessageBox, ich will aber das der Fokus nicht auf Ja sondern auf Nein ist. Wie bekomme ich das hin!?</p>
<pre><code class="language-cpp">void CDENDABR::OnBtnEndabDrk() 
{
	if (MessageBox(_T(&quot;Schichtabrechnung wirklich Drucken&quot;),_T(&quot;Bitte Warten&quot;), MB_YESNO) == IDYES)
	{
	//spPrinterCE-&gt;put_Rotation(2);
	//spPrinterCE-&gt;...(IDC_LST_ENDAB);
		MessageBox(_T(&quot;Endabrechnung wird gedruckt&quot;),_T(&quot;Bitte Warten&quot;),MB_OK);
	}
	else
	{
		MessageBox(_T(&quot;Endabrechnung wird nicht gedruckt&quot;),_T(&quot;Bitte Warten&quot;),MB_OK);
	}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1387790</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387790</guid><dc:creator><![CDATA[shader09]]></dc:creator><pubDate>Thu, 18 Oct 2007 11:09:39 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 11:17:14 GMT]]></title><description><![CDATA[<p>Du kannst in den Flags auch angeben, welcher Button per Default ausgewählt ist, indem du MB_DEFBUTTON1 bis MB_DEFBUTTON4 angibst:</p>
<pre><code class="language-cpp">if (MessageBox(_T(&quot;Schichtabrechnung wirklich Drucken&quot;),_T(&quot;Bitte Warten&quot;), MB_YESNO|MB_DEFBUTTON2) == IDYES)
{
  ...
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1387795</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387795</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 18 Oct 2007 11:17:14 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 11:27:13 GMT]]></title><description><![CDATA[<p>krass danke, so einfach is das.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387801</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387801</guid><dc:creator><![CDATA[shader09]]></dc:creator><pubDate>Thu, 18 Oct 2007 11:27:13 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 11:33:14 GMT]]></title><description><![CDATA[<p>Ja - und sowas kannst du das nächste Mal sogar alleine herausfinden, du mußt nur einen Blick in die MSDN werfen, da findest du meist recht ausführliche Erklärungen (besonders wenn du schon den Namen der verwendeten Funktion hast).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387805</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387805</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 18 Oct 2007 11:33:14 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 12:10:47 GMT]]></title><description><![CDATA[<p>wie kann man eigentlich den Schaltflächentext von den MessageBox Buttons ändern!? Will nicht das da YES und NO dasteht!? Hab mal in der MSDN gekuckt, aber nichts zu finden;<br />
[url]<br />
<a href="http://msdn2.microsoft.com/de-de/library/e6khsaed(vs.80).aspx%5B/url%5D" rel="nofollow">http://msdn2.microsoft.com/de-de/library/e6khsaed(vs.80).aspx[/url]</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387835</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387835</guid><dc:creator><![CDATA[shader09]]></dc:creator><pubDate>Thu, 18 Oct 2007 12:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 12:15:00 GMT]]></title><description><![CDATA[<p>Mit der Standard-MessageBox kannst du nur zwischen einigen vordefinierten Button-Beschriftungen (unter anderem &quot;Ja&quot;/&quot;Nein&quot; = MB_YESNO, &quot;OK&quot; = MB_OK oder &quot;Abbrechen&quot;/&quot;Wiederholen&quot;/Ignorieren&quot; = MB_ABORTRETRYCANCEL) auswählen - wenn du etwas indiviuelleres haben willst, mußt du dir einen eigenen Dialog anlegen - da kannst du die Beschriftung und Anordnung der Buttons frei bestimmen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387837</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387837</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 18 Oct 2007 12:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 12:19:03 GMT]]></title><description><![CDATA[<p>Ja das kenne und weiß ich auch (is ja in VB genauso, und da binsch relativ gut), nur will den Englischen Text nicht. Sind hier in Deutschland, also gibts eigentlich keine Möglichkeit der MessageBox zu sagen das sie den Text in Deutsch Ausgeben soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387842</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387842</guid><dc:creator><![CDATA[shader09]]></dc:creator><pubDate>Thu, 18 Oct 2007 12:19:03 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 12:24:09 GMT]]></title><description><![CDATA[<p>*grübelt* Bei mir sind die MessageBox-Buttons in der Landessprache.</p>
<p>(aber zur Not könntest du ja MessageBoxEx() verwenden, dem kannst du als fünften Parameter eine Sprach-ID übergeben - für dich: <code>MAKELANGID(LANG_GERMAN,SUBLANG_GERMAN)</code> )</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387850</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387850</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 18 Oct 2007 12:24:09 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 12:37:11 GMT]]></title><description><![CDATA[<p>Na das ist weil es eMbedded nur in Englisch gibt. Meinste das so hier,</p>
<pre><code class="language-cpp">MessageBoxEx(NULL,_T(&quot;Nur ein Test&quot;),_T(&quot;OhJa&quot;),MB_OK,MAKELANGID(LANG_GERMAN,SUBLANG_GERMAN));
</code></pre>
<p>Da kommt dann diese Fehlermeldung,</p>
<p>D:\Projekte\_PEG_MT\DDRUCK.cpp(54) : error C2065: 'MessageBoxEx' : undeclared identifier</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387870</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387870</guid><dc:creator><![CDATA[shader09]]></dc:creator><pubDate>Thu, 18 Oct 2007 12:37:11 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 12:46:22 GMT]]></title><description><![CDATA[<p>shader09 schrieb:</p>
<blockquote>
<p>Na das ist weil es eMbedded nur in Englisch gibt.</p>
</blockquote>
<p>Sag doch dazu, daß du von Embedded redest <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<blockquote>
<pre><code class="language-cpp">MessageBoxEx(NULL,_T(&quot;Nur ein Test&quot;),_T(&quot;OhJa&quot;),MB_OK,MAKELANGID(LANG_GERMAN,SUBLANG_GERMAN));
</code></pre>
<p>Da kommt dann diese Fehlermeldung,</p>
<p>D:\Projekte\_PEG_MT\DDRUCK.cpp(54) : error C2065: 'MessageBoxEx' : undeclared identifier</p>
</blockquote>
<p>Du arbeitest nicht zufällig mit Windows CE? Wenn ja, dürfte das nicht gehen (laut MSDN wird's von CE nicht unterstützt).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387882</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387882</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 18 Oct 2007 12:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 12:53:00 GMT]]></title><description><![CDATA[<p>Siehste und genau damit arbeite ich auch. Also gibts wirklich keine möglichkeit den Schaltflächentext zu ändern.****</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387890</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387890</guid><dc:creator><![CDATA[shader09]]></dc:creator><pubDate>Thu, 18 Oct 2007 12:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 13:17:32 GMT]]></title><description><![CDATA[<p>Mit WinCE kenne ich mich leider nicht so aus, aber eventuell kannst du es dazu bringen, deutsch mit dir zu reden. Wie melden sich denn die Windows-eigenen Message-Boxen (z.B. wenn du eine Datei im Explorer löschen willst)?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387910</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387910</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 18 Oct 2007 13:17:32 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 13:24:59 GMT]]></title><description><![CDATA[<p>Ist alles hier komplett Englisch, also hab ich wirklich keine Chance was an dem **** englischen Buttons zu ändern. Naja was solls, muss der Kunde halt mir leben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387916</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387916</guid><dc:creator><![CDATA[shader09]]></dc:creator><pubDate>Thu, 18 Oct 2007 13:24:59 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox on Thu, 18 Oct 2007 14:15:14 GMT]]></title><description><![CDATA[<p>mach doch n eigenen dialog - so schwer isses ja nich</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1387970</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1387970</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Thu, 18 Oct 2007 14:15:14 GMT</pubDate></item></channel></rss>