<?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 ohne Buttons?!]]></title><description><![CDATA[<p>Hi Leute!<br />
Ich hab mal ne kleine Frage, und zwar gibt es unter Windows die Möglichkeit, eine MessageBox ohne Buttons anzuzeigen? Also nur ein Fenster OHNE Titel, nur ein Infotext und eines der Standard-Icons. Ich habe sowas schonmal gesehen, kann mir jedoch nicht erklären ob das selber geschrieben wurde oder in der WinAPI schon existiert.</p>
<p>Was ich meine ist so ein kleines Fenster, das in der Mitte des Desktops auftaucht mit Messagetext und Icon, das nach einer gegebenen Anzahl von Sekunden wieder verschwindet. Klar, sowas könnte man selber proggen, aber das müsste man ja wissen wie lang der Text ist und das Fenster dann automatisch entsprechend anpassen.</p>
<p>Gibt es so etwas?</p>
<p>Gruss,<br />
~cp code_pilot :p</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/64834/messagebox-ohne-buttons</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Apr 2026 13:24:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/64834.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Feb 2004 19:32:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MessageBox ohne Buttons?! on Fri, 13 Feb 2004 19:32:15 GMT]]></title><description><![CDATA[<p>Hi Leute!<br />
Ich hab mal ne kleine Frage, und zwar gibt es unter Windows die Möglichkeit, eine MessageBox ohne Buttons anzuzeigen? Also nur ein Fenster OHNE Titel, nur ein Infotext und eines der Standard-Icons. Ich habe sowas schonmal gesehen, kann mir jedoch nicht erklären ob das selber geschrieben wurde oder in der WinAPI schon existiert.</p>
<p>Was ich meine ist so ein kleines Fenster, das in der Mitte des Desktops auftaucht mit Messagetext und Icon, das nach einer gegebenen Anzahl von Sekunden wieder verschwindet. Klar, sowas könnte man selber proggen, aber das müsste man ja wissen wie lang der Text ist und das Fenster dann automatisch entsprechend anpassen.</p>
<p>Gibt es so etwas?</p>
<p>Gruss,<br />
~cp code_pilot :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/458927</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/458927</guid><dc:creator><![CDATA[code_pilot]]></dc:creator><pubDate>Fri, 13 Feb 2004 19:32:15 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox ohne Buttons?! on Fri, 13 Feb 2004 19:39:12 GMT]]></title><description><![CDATA[<p><a href="http://www.catch22.org.uk/tuts/msgbox.asp" rel="nofollow">http://www.catch22.org.uk/tuts/msgbox.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/458935</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/458935</guid><dc:creator><![CDATA[Shlo]]></dc:creator><pubDate>Fri, 13 Feb 2004 19:39:12 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox ohne Buttons?! on Fri, 13 Feb 2004 19:55:22 GMT]]></title><description><![CDATA[<p>Naja ne Messagbox kannste glaub ich nicht nehmen aber klick dir doch einfach nen dialog zusammen.</p>
<p>mach dir ne Ressourcendatei die sieht so aus:</p>
<pre><code class="language-cpp">#define MEGA_SOFTWARE 101

MEGA_SOFTWARE DIALOG DISCARDABLE 50, 50, 200, 100
BEGIN
LTEXT &quot;Bei Fehlern bombadieren Sie bitte Bill Gates&quot;, 1, 40, 40, 150, 70
END
</code></pre>
<p>nen Icon musste dann mal gucken musste dir noch ne ressource machen (iconressource). MEGA_SOFTWARE ist der Bezeichner für den Dialog, der rest sollte klar sein.</p>
<p>Im Programm dann</p>
<pre><code class="language-cpp">#include &quot;windows.h&quot;
#define MAGA_SOFTWARE 101
</code></pre>
<p>und in einer action:</p>
<pre><code class="language-cpp">DialogBox (hInstance, MAKEINTRESOURCE (MEGA_SOFTWARE), hWnd, DialogProc);
</code></pre>
<p>die DialogProc sieht so aus:</p>
<pre><code class="language-cpp">BOOL DialogProc (HWND hDialog, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_INITDIALOG:
return true;
case WM_COMMAND:
break;
default:
break;
}

return false;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/458947</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/458947</guid><dc:creator><![CDATA[Parapiler]]></dc:creator><pubDate>Fri, 13 Feb 2004 19:55:22 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox ohne Buttons?! on Sat, 14 Feb 2004 14:30:37 GMT]]></title><description><![CDATA[<p>Parapiler schrieb:</p>
<blockquote>
<p>Naja ne Messagbox kannste glaub ich nicht nehmen aber klick</p>
<pre><code class="language-cpp">#define MEGA_SOFTWARE 101
</code></pre>
</blockquote>
<p>Ach nee... Herr Arbeitskollege <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="😉"
    /> ... *lol* <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /> :p <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>
<p>Aber Basti, du weist doch ich mach nicht so viel mit Ressource Files.</p>
<p>Gruss,<br />
Jan (alias code_pilot) <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/459273</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/459273</guid><dc:creator><![CDATA[code_pilot]]></dc:creator><pubDate>Sat, 14 Feb 2004 14:30:37 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox ohne Buttons?! on Sat, 14 Feb 2004 15:13:08 GMT]]></title><description><![CDATA[<p>tja.... irgendwann machste es eh.....</p>
<p>Gruß aus Barop</p>
]]></description><link>https://www.c-plusplus.net/forum/post/459309</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/459309</guid><dc:creator><![CDATA[Parapiler]]></dc:creator><pubDate>Sat, 14 Feb 2004 15:13:08 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox ohne Buttons?! on Sat, 14 Feb 2004 17:05:52 GMT]]></title><description><![CDATA[<p>Hi Jan,<br />
wenn du kein Bock auf Resource-Files oder Hooks hast, dann schau mal auf meine Homepage in die WinAPI-Ecke. Dort biete ich eine Unit zum Download an, mit der du dir Dialoge per Code zusammenschrauben kannst. Ein Beispiel (eine InputBox) gibt es dort auch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/459406</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/459406</guid><dc:creator><![CDATA[WebFritzi]]></dc:creator><pubDate>Sat, 14 Feb 2004 17:05:52 GMT</pubDate></item><item><title><![CDATA[Reply to MessageBox ohne Buttons?! on Sun, 15 Feb 2004 20:41:18 GMT]]></title><description><![CDATA[<p>hi, danke WebFritzi, habs jetzt aber doch so als normales Fenster hingekriegt ... gruss, code_pilot <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/460020</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/460020</guid><dc:creator><![CDATA[code_pilot]]></dc:creator><pubDate>Sun, 15 Feb 2004 20:41:18 GMT</pubDate></item></channel></rss>