Thank you. That's unfortunate. Is multiple directory selection all that strange? My usecase is that I am writing a tool to upload a whole bunch of folders to a cloud service and they are not necessarily inside one neat directory...
regds On Mon, Jul 23, 2012 at 4:43 PM, Jenda Krynicky <je...@krynicky.cz> wrote: > From: Arjun Roychowdhury <arju...@gmail.com> >> Hi, I am looking for a perl API that presents a windows style dialog >> to users and allows them to select multiple folders. While perl::Tk >> has FileSelect and DirTree etc they don't have the native windows look >> and feel. >> In reading >> http://search.cpan.org/~jenda/Win32-FileOp-0.16.00-withoutworldwriteables/FileOp.pm >> I noticed two APIs: >> >> a) OpenDialog >> b) BrowserForFolder >> >> a) seems to allow multiple selections (OFN_ALLOW_MULTISELECT) but I >> can't get it to select folders only >> b) seems to allow folder selections, but there is no BFI_ equivalent >> of multiselect. >> >> I've gone through many iterations of folder select dialogs >> (chooseDirectory, etc etc) but I seem to be stuck with either a old Tk >> looking dialog or a windows looking dialog that doesn't allow both >> multi-select + folder select > > Win32::FileOp just wraps a few Win32 calls. I checked the > SHBrowseForFolder and there doesn't seem to be a way to allow it to > select several folders and seems the GetOpenFileName > (http://msdn.microsoft.com/en- > us/library/windows/desktop/ms646927(v=vs.85).aspx) cannot be > convinced to select folders. > > I actually doubt there is a predefined dialog that'd allow you to do > this as it sounds like a rather strange request. > > Jenda > ===== je...@krynicky.cz === http://Jenda.Krynicky.cz ===== > When it comes to wine, women and song, wizards are allowed > to get drunk and croon as much as they like. > -- Terry Pratchett in Sourcery > > _______________________________________________ > Perl-Win32-Users mailing list > Perl-Win32-Users@listserv.ActiveState.com > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs -- Arjun Roychowdhury _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs