Message-ID: <37A37C66.BBDE60DC@indigo.ie> From: "B O'Donnell" X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i486) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Getting a directory with Allegro file_select Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 11 Date: Sat, 31 Jul 1999 23:44:55 +0100 NNTP-Posting-Host: 194.125.148.112 X-Complaints-To: news AT indigo DOT ie X-Trace: news.indigo.ie 933461570 194.125.148.112 (Sat, 31 Jul 1999 23:52:50 BST) NNTP-Posting-Date: Sat, 31 Jul 1999 23:52:50 BST Organization: Indigo To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I want to be able to use the file selector to pick a working directory; is this possible? According to the docs file_select() should return 1 when you click on OK, but this will only happen for me if a file in the directory is selected, so I have to use this as a not very satisfactory workaround or always assume that the user doesn't want to cancel the whole operation. TIA Brian O'Donnell odonnllb AT indigo DOT ie