It doesn't seem that you can select more than one file with
GetOpenFileName. Is that correct?
I tried using Win32::FileOp::OpenDialog, but get the following error:
Can't locate auto/DELETE.al in @INC(...) at ...Win32/FileOp.pm line
941.

Here is the code:

sub ::AddFilesButton_Click { defined(my $root =
$Win32::GUI::Loft::window{MyWindow}) or return(1);

use Win32;
use Win32::FileOp;

my @filenames = $root->Win32::FileOp::OpenDialog(
                        -options => 'OFN_ALLOWMULTISELECT');

...


Thanks for any help,

Marcus



Reply via email to