Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Win32::GUI TreeView

by fluffyvoidwarrior (Monk)
on Dec 02, 2005 at 11:35 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-12-09 03:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (53 votes). Check out past polls.