On Sun, Jan 13, 2013 at 4:20 PM, Mukenx <mukenx@gmail.com> wrote:
Is it possible to use the filenamedialog routine to select folders instead of files? If not, I would liketo open a feature request.


You should open a feature request.  The API used for the fileNameDialog routine doesn't support selecting folders
 

I could not find any specific option to achieve this in the documentation.
Msdn says there is an option for IFileDialog:
 FOS_PICKFOLDERS (0x00000020)
 Present the Open dialog offering a choice of folders rather than files.

IFileDialog is the COM interface.  It is what BrowseForFolder uses under the covers I'm pretty sure,
 

To date I have used the Windows Shell BrowseForFolder dialog, which seems to have the limitation that when a default folder is given, the user cannot browser the folders upwards, which is a serious limitation.

I believe that is supposed to be a feature.  Prevents the users from going where you don't want them.

I have code in the incubator for a browse for folders interface.  It would be relatively easy to bring it over to ooDialog.  It has been a while since I looked at it, but I don't remember that it had that limitation.

--
Mark Miesfeld


 

Thanks,
Madou
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users