<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>A better messagebox?</title>
		<link>http://www.allegro.cc/forums/view/606890</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 01 Apr 2011 06:09:56 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hello everyone, I am looking at Allegro 5.01 and I would like to implement simple diagnostic popups. Looking through the documentation, I encountered the al_show_native_message_box method. However, this brings in a ton of parameters that makes for a long line even if NULL is used a lot. Is there a shorter, simpler message box to be had?</p><p><span class="source-code"><a href="http://www.allegro.cc/manual/al_show_native_message_box"><span class="a">al_show_native_message_box</span></a><span class="k2">(</span>NULL, NULL, NULL,<span class="s">"failed to initialize display!"</span>, NULL, NULL<span class="k2">)</span><span class="k2">;</span></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (InfiniteLoop)</author>
		<pubDate>Thu, 31 Mar 2011 23:18:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Uh, wrap it?</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">void</span> show_my_message_box<span class="k2">(</span><span class="k1">char</span> <span class="k3">*</span>strptr<span class="k2">)</span>
<span class="k2">{</span>
    <a href="http://www.allegro.cc/manual/al_show_native_message_box"><span class="a">al_show_native_message_box</span></a><span class="k2">(</span>NULL, NULL, NULL,strptr, NULL, NULL<span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 31 Mar 2011 23:20:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you want debug logging, see: <span class="source-code"><a href="http://www.allegro.cc/manual/al_append_native_text_log"><span class="a">al_append_native_text_log</span></a><span class="k2">(</span><span class="k2">)</span></span>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 31 Mar 2011 23:21:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Or compile your debug version as a console app, then printf()/cout to the console.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 01 Apr 2011 06:09:56 +0000</pubDate>
	</item>
</rss>
