From: "Pavlos" Newsgroups: comp.os.msdos.djgpp Subject: Re: Getting a directory with Allegro file_select Date: Sun, 1 Aug 1999 17:08:25 +0300 Organization: An OTEnet S.A. customer Lines: 23 Message-ID: <7o1mmf$kj7$1@newssrv.otenet.gr> References: <37A37C66 DOT BBDE60DC AT indigo DOT ie> NNTP-Posting-Host: dram-a10.otenet.gr X-Trace: newssrv.otenet.gr 933518863 21095 195.167.113.233 (1 Aug 1999 14:47:43 GMT) X-Complaints-To: abuse AT otenet DOT gr NNTP-Posting-Date: 1 Aug 1999 14:47:43 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This can be done in versions 3.9.23+ WIP(work in progress, Newest is 3.9.24). file_select allows you now to specify which files to include or exclude by their atributes. Get the latest WIP and look at the docs. Pavlos B O'Donnell wrote in message <37A37C66 DOT BBDE60DC AT indigo DOT ie>... >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