fluffyvoidwarrior has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, I'm struggling a bit with a win32 gui idea that I would like to implement in perl. Basically I want to display a folder/file browse dialog box - users click a "Browse" button and select files from their local drives. I think perhaps Win32::GUI::TreeView is the control to use. Can anyone point me to some documentation on this package. I've got the package docs but they are just a short reference rather than any sort of Howto. Any example code would be a great help. Thanks again hallowed monks

Replies are listed 'Best First'.
Re: Win32::GUI TreeView
by ldln (Pilgrim) on Dec 02, 2005 at 15:45 UTC
    use Win32::FileOp qw /BrowseForFolder/; my $dir = BrowseForFolder("Choose Directory"); print "\nSelected dir", $dir;
Re: Win32::GUI TreeView
by Courage (Parson) on Dec 02, 2005 at 13:04 UTC
    I would advice not to use Win32::GUI, and use any other GUI. You'll have richier widget set this way, your code will be more clean and portable.

    Best regards,
    Courage, the Cowardly Dog