Against, I 'm in need to just choose a directory not a file
Here is the code i use with FileSel (UPP look)
FileSel fs;
fs.ActiveDir("C:/Test");
if (!fs.ExecuteSelectDir("Ouvrir à partir de ..."))
return;
String selectedFolder = ~fs;
In FileSelector (native look), the user must select a file to allow me to have the directory needed.
FileSelector fsNative;
fsNative.ActiveDir("C:/Test");
if (!fsNative.ExecuteOpen("Ouvrir à partir de ..."))
return;
String selectedFolder = fsNative.GetActiveDir();