<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>how to incorporate FileEditor in an appln.</title>
		<link>http://www.allegro.cc/forums/view/588707</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 23 Nov 2006 22:13:51 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>hi,</p><p>   I don&#39;t know windows programming. </p><p>I want to use FileEditor utility for windows that is available in allegro examples in my game. But I haven&#39;t developed my game as a windows application. I just want when a button is pressed by mouse I want the FileEditor(File dialog) to be opened and just want to select a file name(with path). NO save or Edit options are required.</p><p>    In my game there&#39;s a main fn. Also in fileeditor program there is a function called WinMain. </p><p>     Is it possible to use that code for my game.</p><p>   Thanks.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (raja peter)</author>
		<pubDate>Thu, 23 Nov 2006 19:39:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Raja,</p><p>Do you mean Allegro&#39;s built-in/pre-built <span class="source-code"><a href="http://www.allegro.cc/manual/file_select_ex" target="_blank"><span class="a">file_select_ex</span></a></span> or were you asking for something different?</p><p>Using <b>file_select_ex</b>, you wouldn&#39;t need to code much of anything else to get the File dialog working.  However, if you wanted to make a custom file loading routine, you may need to write it yourself.</p><p>I usually found it easiest to assume that the user knew the filename (and file path) of the file they wished to open, then draw my &quot;which file do you wish to open&quot; myself (it included drawing a filled-color rectangle, output text such as &quot;Filename: &quot;, and a function to accept keyboard input), and open the file that way.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (TeamTerradactyl)</author>
		<pubDate>Thu, 23 Nov 2006 22:13:51 +0000</pubDate>
	</item>
</rss>
