wxDirDialog under Vista
John Dallaway
jld at ecoscentric.com
Wed Apr 23 04:23:29 PDT 2008
Under Microsoft Windows Vista, wxDirDialog presents the current user's
"Desktop" folder and any sub-folders on the desktop, but the "Computer"
hierarchy containing the logical disk drives is not seen. If I use the
context menu to "Explore" the "Desktop" folder I am taken to the
following sub-folder in the Explorer:
Desktop -> Computer -> OS (C:) -> Users -> myusername -> Desktop
Running the same application binary under Windows XP, I can see the full
directory hierarchy in the wxDirDialog, including logical disk drives
under "Desktop" -> "My Computer". If I use the context menu to "Explore"
the root "Desktop" folder, I am taken to the root "Desktop" node
containing "My Documents", "My Computer", "My Network Places", etc.
So it appears that wxDirDialog presents the wrong "Desktop" node as the
root of the tree when running on Vista, preventing selection of folders
outside the current user's Desktop.
It looks like this may be an issue with the underlying SHBrowseForFolder
control or perhaps the behaviour is configurable elsewhere in Vista. Has
anyone else seen this problem? Is there a workaround?
John Dallaway
WX : 2.8.7
OS : Windows Vista Business
COMPILER: gcc 3.4.4 (cygwin)
More information about the wx-users
mailing list