Changed: When using _CFF_Choose with a default folder the dialog is hidden until the tree expansion is completed (or abandoned). This prevents flickering as the tree is opened to the correct level.
Added: Again when using _CFF_Choose, adding 256 to the $iDisplay parameter shows small splash screens during any autoexpansion of the tree (see above) and when the UDF is searching if asked to show all available drives.
Thanks to qwert for the push to get these incorporated.
Note you need AutoIt v126.96.36.199 or later to run this release of the UDF as it will not run with earlier versions.
Previous versions: ChangeLog.txt 9.58KB 68 downloads
I was fed up with using the native FileOpenDialog and FileSelectFolder which appeared anywhere on the screen in seemingly random sizes and often allowed users to select files from other than the path desired. So I decided to write my own version of an Explorer-type treeview and here it is: ChooseFileFolder.
What are the main advantages of this UDF over the normal dialogs?
- Common format for both file and folder selection.
- Ability to size and place the dialog where you want it rather than how Windows last left it.
- Ability to select (and delete) multiple items - even from different folders or drives. You can also select both files and folders from the same tree.
- And there is also a function to allow you to use an existing treeview in your own GUI to display the folder tree - no need to have a dialog at all.
Here is a zip file with the UDF and several example scripts: ChooseFileFolder.zip 16.21KB 261 downloads
As usual happy to take feedback and, preferably, plaudits.
Edited by Melba23, 25 August 2014 - 08:51 AM.