Select Directory and TSelectDirExtOpts
Posted on 2005-02-28
From my Delphi 2005 Pro help:
[Delphi] function SelectDirectory(var Directory: string, Options: TSelectDirOpts, HelpCtx: Integer): Boolean;
[Delphi] function SelectDirectory(const Caption: string, const Root: WideString, var Directory: string, Options: TSelectDirExtOpts, Parent: TWinControl): Boolean;
Use the second syntax to call the Select Directory dialog box. The directory passed to the function with the Directory parameter appears as the currently selected directory when the dialog box appears. The name of the directory the user selects becomes the value of Directory when the function returns.
The HelpCtx parameter is the help context ID number.
The Options parameter is a set of values. If Options is the empty set, the user can only select a directory that already exists. No edit box is provided for the user to enter a new directory name. If Options is not empty, the included values determine how the dialog responds when the user types a nonexistent directory name
I'm interested in the second syntax but cannot find TSelectDirExtOpts description. Nothing more in Delphi/SDK help, Google, NG, BDN etc.
Could you help me?