in reply to Re: Re: BrowseForFolder usage
in thread BrowseForFolder usage

Get a grip. I have shown you how to use the browse for folder widget and make another widget based on the selection. This is proof of concept not finished product. That's your job. I take it you understand how to embed widgets in widgets. Decide how you want it to work. Make a main window that supplies all the functionality you want. FWIW I would suggest Tk as it is much better documented and you will find ready made widgets quite like what you want. There are a number of GUI packages you can use, have a look and pick one that works for you.

cheers

tachyon

Replies are listed 'Best First'.
Re: Re: Re: Re: BrowseForFolder usage
by HabitForming (Initiate) on Jun 01, 2004 at 18:52 UTC
    Get a grip!??!?

    This seems a little harsh. I thought I was asking a reasonable question. My question was whether or not you could make the Win32::GUI BrowseForFolder widget select a directory without rooting to it - it seems that the answer is no, but I just wanted to check before I went off to look at other options, as this seemed the easiest.

    Thank you very much for your initial response.

      A tree by definition has a root. If what you actually mean is can I root the tree on C:\ but have it pre-expanded to Folder X the answer is no, not with BrowseFolder. If you want to do native Windows with a poorly documented API then you are going to get very familiar with MSDN. 20 seconds on google will turn up links like: BrowseForFolder If the native API call does not do it no wrapper method is going to help.

      cheers

      tachyon

        Thank you!

        That is just the information that I was after. Sorry about the to-ing and fro-ing.

        I apologise for my incompetence on this issue: I have been programming (probably badly by modern standards, but as has been stated by better men than I: TMTOWTDI!) in perl for several years and this is my first foray into GUI.

        Having read a little about Tk, I believe you are right, and that that is a much better way to do it. Thanks for all your help

        Cheers

        HabitForming