<?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-Problem]]></title><description><![CDATA[<p>Ich hab ein Problem mit ner MessageBox, die angezeigt werden soll, wenn ich in dem Menü meines Windowsfensters einen bestimmten Eintrag anklicke. Sie wird zunächst garnicht angezeigt. Nur wenn ich dann das Fenster minimiere (und nur dann) wird sie (ebenfalls minimiert) erstellt. Woran kann dass liegen und was muss ich anders machen?<br />
Hier mal noch ein kleines Codeschnipsel:</p>
<pre><code>...
case WM_COMMAND:
         switch(LOWORD(wParam))
         {
            ...
            case MENUE_HILFE_ABOUT:
               MessageBox(NULL, &quot;Text&quot;, &quot;About&quot;, MB_OK | MB_ICONINFORMATION);
               break;
         }
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/87826/messagebox-problem</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 03:37:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/87826.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Oct 2004 13:14:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MessageBox-Problem on Mon, 04 Oct 2004 13:14:36 GMT]]></title><description><![CDATA[<p>Ich hab ein Problem mit ner MessageBox, die angezeigt werden soll, wenn ich in dem Menü meines Windowsfensters einen bestimmten Eintrag anklicke. Sie wird zunächst garnicht angezeigt. Nur wenn ich dann das Fenster minimiere (und nur dann) wird sie (ebenfalls minimiert) erstellt. Woran kann dass liegen und was muss ich anders machen?<br />
Hier mal noch ein kleines Codeschnipsel:</p>
<pre><code>...
case WM_COMMAND:
         switch(LOWORD(wParam))
         {
            ...
            case MENUE_HILFE_ABOUT:
               MessageBox(NULL, &quot;Text&quot;, &quot;About&quot;, MB_OK | MB_ICONINFORMATION);
               break;
         }
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/620697</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620697</guid><dc:creator><![CDATA[Evolver]]></dc:creator><pubDate>Mon, 04 Oct 2004 13:14:36 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox-Problem on Mon, 04 Oct 2004 13:23:48 GMT]]></title><description><![CDATA[<p>Mach mal MessageBox(<strong>hwnd</strong>, &quot;Text&quot;, &quot;About&quot;, MB_OK | MB_ICONINFORMATION);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/620716</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620716</guid><dc:creator><![CDATA[SirLant]]></dc:creator><pubDate>Mon, 04 Oct 2004 13:23:48 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox-Problem on Mon, 04 Oct 2004 13:55:46 GMT]]></title><description><![CDATA[<p>Das hatte ich natürlich auch schon probiert. Erfolglos! Da die MessageBox geöffnet, aber nicht angezeigt wird, kann ich das Fenster dann ja nichtmehr minimieren, ich bekomme die MessageBox also garnichtmehr zu Gesicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/620769</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620769</guid><dc:creator><![CDATA[Evolver]]></dc:creator><pubDate>Mon, 04 Oct 2004 13:55:46 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox-Problem on Mon, 04 Oct 2004 14:13:29 GMT]]></title><description><![CDATA[<p>Evolver schrieb:</p>
<blockquote>
<p>Das hatte ich natürlich auch schon probiert. Erfolglos! Da die MessageBox geöffnet, aber nicht angezeigt wird, kann ich das Fenster dann ja nichtmehr minimieren, ich bekomme die MessageBox also garnichtmehr zu Gesicht.</p>
</blockquote>
<p><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="😕"
    /> hwnd ist das Handle deines Fensters, je nach dem wie du es in deinem Programm vergeben hast, mußt du es entsprechend auch so schreiben.<br />
Solltes du das richtig haben, dann erhält dein Fenster stehts den Fokus (immer im Vordergrund), dann liegt das Problem wo anders.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/620803</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620803</guid><dc:creator><![CDATA[MiC++ha]]></dc:creator><pubDate>Mon, 04 Oct 2004 14:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox-Problem on Mon, 04 Oct 2004 14:19:41 GMT]]></title><description><![CDATA[<p>Ich weiß, dass hwnd nur exemplarisch den Namen meines Fensterhandles stand. Aber wenn ich dann ein Childfenster zu diesem Fenster öffne (in meinem Fall die MessageBox), dann ist diese natürlich im Vordergrund. Das hat mir ja auch gezeigt, dass die MessageBox erstellt wird. Sie wird aber nicht angezeigt.<br />
Deswegen finde ich das ja auch so verwirrend.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/620810</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620810</guid><dc:creator><![CDATA[Evolver]]></dc:creator><pubDate>Mon, 04 Oct 2004 14:19:41 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox-Problem on Mon, 04 Oct 2004 14:25:58 GMT]]></title><description><![CDATA[<p>Ich glaub ich dreh durch ... jetzt funktionierts auf einmal ... ohne dass ich eine Änderung am Programm vorgenommen hab ... *WAAAHHH* <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>
]]></description><link>https://www.c-plusplus.net/forum/post/620825</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620825</guid><dc:creator><![CDATA[Evolver]]></dc:creator><pubDate>Mon, 04 Oct 2004 14:25:58 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox-Problem on Mon, 04 Oct 2004 14:26:22 GMT]]></title><description><![CDATA[<p>Welche Window Styles verwendest du bei CreateWindow?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/620828</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620828</guid><dc:creator><![CDATA[MiC++ha]]></dc:creator><pubDate>Mon, 04 Oct 2004 14:26:22 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox-Problem on Mon, 04 Oct 2004 14:27:49 GMT]]></title><description><![CDATA[<p><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="😕"
    /> Manchmal frage ich mich ob manche Gespenster proggen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/620830</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620830</guid><dc:creator><![CDATA[MiC++ha]]></dc:creator><pubDate>Mon, 04 Oct 2004 14:27:49 GMT</pubDate></item></channel></rss>