Displays the directory selection dialog. The parameter InitialDir determines the directory which is displayed when opening the dialog. The parameter Caption controls the text which is displayed on top of the dialog. In order to create a new subfolder, enter the name of the new folder an click the "create new subdirectory" button.
The selected folder (as a fully specified path) is returned when the user clicks OK, otherwise an empty string is returned.