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

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

  • Comment on Re: Re: Re: Re: Re: BrowseForFolder usage

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: BrowseForFolder usage
by HabitForming (Initiate) on Jun 01, 2004 at 21:00 UTC
    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

      Tk is a better option IMHO. It tries for Win32 look and feel but they have done it the hard way ie rebuilt the Windows widget/icon set. There is much discussion about the pros and cons of this but the bottom line is that Tk does not always look as Windows like as you might want.

      Esseintially it sounds like you want to pack a folder view widget into your main Window. It can then be rooted on C or whatever but expansions will persist.

      I avoid GIUs like the plague as they can consume endless hours with tinkering to get the tabs to behave like you want, the buttons to look just so, etc, etc. I spend most of my time on the Linux command line now.

      cheers

      tachyon