From MSDN,
"For Windows Vista or later, it is recommended that you use
IFileDialog with the FOS_PICKFOLDERS option rather than the
SHBrowseForFolder function. This uses the Open Files dialog in pick
folders mode and is the preferred implementation."
http://msdn.microsoft.com/en-us/library/bb762115%28VS.85%29.aspx
I think on Mac wx already uses same-style dialogs for dir and file selection.
SG
SG> wx directory selection dialog on windows uses SHBrowseForFolder which
SG> isn't the recommended way starting windows Vista. Vista and 7 prefer a
SG> file-open style dialog for selecting directories too, which is much
SG> nicer to use than the small old directory selection dialog on windows
SG> and is now used by most applications.
Please open a ticket for this on Trac (with mention of IFileDialog) as
this indeed seems like something we should be doing. But, as usual, by far
the fastest way to ensure that it's really done is to contribute a patch
(please see http://trac.wxwidgets.org/wiki/HowToSubmitPatches) doing it and
if you can do this it would be gratefully accepted.
Thanks,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
On Fri, Oct 30, 2009 at 1:29 AM, Vadim Zeitlin <va...@wxwidgets.org> wrote:
> On Thu, 29 Oct 2009 07:30:54 +0530 Sachin Garg <sch...@gmail.com> wrote:
>
> SG> wx directory selection dialog on windows uses SHBrowseForFolder which
> SG> isn't the recommended way starting windows Vista. Vista and 7 prefer a
> SG> file-open style dialog for selecting directories too, which is much
> SG> nicer to use than the small old directory selection dialog on windows
> SG> and is now used by most applications.
>
> Please open a ticket for this on Trac (with mention of IFileDialog) as
> this indeed seems like something we should be doing. But, as usual, by far
> the fastest way to ensure that it's really done is to contribute a patch
> (please see http://trac.wxwidgets.org/wiki/HowToSubmitPatches) doing it and
> if you can do this it would be gratefully accepted.
Added to trac
http://trac.wxwidgets.org/ticket/11401
Will submit a patch if/when I get to it, but can't promise :-)
SG