I did another component that I'm sharing. It encapsulates most of the functionality I could find in SHBrowseForFolder.
As the note says on the FAQ, I don't have the resources (read access to a big network) to test a lot of it, so YMMV on that regard.
Please let me know if it helps you out, and especially if you do find something in using it that I didn't because I couldn't test it.
faq102-7233
I won't be able to get to any formal documentation in the next few days, so here's some basics outside of the example:
The UserFlag holds most of the main functionality. You tell it what you want to browse for, and it will limit the choices accordingly. The StartFlag is more for special cases, and the names for each should reasonably point towards them. The rest are documented in the code snippet above.
Hope it helps.
Measurement is not management.
As the note says on the FAQ, I don't have the resources (read access to a big network) to test a lot of it, so YMMV on that regard.
Please let me know if it helps you out, and especially if you do find something in using it that I didn't because I couldn't test it.
faq102-7233
I won't be able to get to any formal documentation in the next few days, so here's some basics outside of the example:
Code:
FTitle: String; // title or caption
FDirName: String; // path or dir returned
FStartDir: TFileName; // directory to start with
FUserFlag: TBDirFlag; // determines functionality
FStartFlag: TBStartFlag; // determines special start places
FStatusMsg: Boolean; // show status messages?
FNewStyle: Boolean; // use new display style?
FCenter: Boolean; // center the dialog?
FFSAncestors: Boolean; // allow only file system ancestors?
FBelowDomain: Boolean; // do not go below domain level in network browse?
FRootDir: Boolean; // truncate browse in root dir instead of simply select?
The UserFlag holds most of the main functionality. You tell it what you want to browse for, and it will limit the choices accordingly. The StartFlag is more for special cases, and the names for each should reasonably point towards them. The rest are documented in the code snippet above.
Hope it helps.
Measurement is not management.