On a related note, does anyone know how to make BrowseForFolder start at a given directory? The -root option almost does it, but it would be nice to start in the current directory and allow the user to navigate up and down from there.
Glenn -----Original Message----- Date: Wed, 05 Mar 2003 15:31:10 +0100 To: "Sean Healy" <[EMAIL PROTECTED]>, [EMAIL PROTECTED], perl-win32-gui-users@lists.sourceforge.net From: Wim de Vries <[EMAIL PROTECTED]> Subject: Re: [perl-win32-gui-users] GetOpenFileName and directories At Wednesday 05/03/2003 15:06, Sean Healy wrote: >>does anyone know if there's an option to make the common file open dialog >>select directories instead of files? >> >>any help is appreciated :) You may want to use the loft package http://www.bahnhof.se/~johanl/perl/Loft/ One of examples has what you need (filedisplay). >>darrik > >As far as I know, there is not. But there is a method called >BrowseForFolder. If you don't have the docs, check here: >http://search.cpan.org/src/ACALPINI/Win32-GUI-0.0.558/docs/html/Win32_GUI.h tml#BrowseForFolder_OPTIONS_ > >