<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Windows Display Icon</title>
		<link>http://www.allegro.cc/forums/view/613275</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 22 Sep 2013 04:53:58 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>In Allegro 4 I was able to get an icon on my program&#39;s window by compiling a resource file with <span class="source-code">ALLEGRO_ICON ICON my_icon.ico</span> in it. Allegro 5 provides the <span class="source-code"><a href="http://www.allegro.cc/manual/al_set_display_icon"><span class="a">al_set_display_icon</span></a><span class="k2">(</span><span class="k2">)</span></span> function, but I am wondering, what is the best way to do it?</p><p>In my current project I have an icon file with multiple sizes of the icon I wish to use embedded in the executable using the above method, but that icon doesn&#39;t appear at the top of the window. Using the <span class="source-code"><a href="http://www.allegro.cc/manual/al_set_display_icon"><span class="a">al_set_display_icon</span></a><span class="k2">(</span><span class="k2">)</span></span> function limits me to a single size, which may not look great on some configurations.</p><p>Is there any way for me to use the embedded icon as the display icon? If not, what size is the best to use with <span class="source-code"><a href="http://www.allegro.cc/manual/al_set_display_icon"><span class="a">al_set_display_icon</span></a><span class="k2">(</span><span class="k2">)</span></span>?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Todd Cope)</author>
		<pubDate>Thu, 19 Sep 2013 09:23:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/613275/990169#target">Todd Cope</a> said:</div><div class="quote"><p> Using the al_set_display_icon() function limits me to a single size, which may not look great on some configurations.</p></div></div><p>Maybe try <span class="source-code">al_set_display_icons<span class="k2">(</span><span class="k2">)</span></span>?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 19 Sep 2013 09:35:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ahh, didn&#39;t see that function. I will try it.</p><p>Append: It works great! Thanks for pointing it out.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Todd Cope)</author>
		<pubDate>Thu, 19 Sep 2013 10:07:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/613275/990171#target">Todd Cope</a> said:</div><div class="quote"><p>Ahh, didn&#39;t see that function. I will try it.</p></div></div><p>

Seems the manual needs to be updated as the release version is 5.0.10 and that function was introduced in 5.0.9, yet it still isn&#39;t listed (it&#39;s in the 5.1 manual).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Sun, 22 Sep 2013 04:53:58 +0000</pubDate>
	</item>
</rss>
