Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Win32::GUI TreeView

by fluffyvoidwarrior (Monk)
on Dec 02, 2005 at 11:35 UTC ( #513564=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://513564]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (None)
    As of 2021-05-10 05:17 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Perl 7 will be out ...





      Results (104 votes). Check out past polls.

      Notices?