Dialogs sample Vista note
Ryan Norton
wxprojects at comcast.net
Mon Oct 2 01:50:08 PDT 2006
(2.6.3, although not tested with a full CVS version partly due
to wxMSW snapshot .zip has some corrupt .dsps, but
I tried the filedialog.cpp cvs code as well)
As outlined by a shell developer at
http://shellrevealed.com/forums/post/3299.aspx
there is a neat new file dialog in Vista, but applications that customize
the dialog get the old xp version.
The main note here is that the second and third menu items of the
"file operations" menu bring up the new dialog A-OK, but the first
one does not and brings up the old XP (on CVS we get the nice
XP sidebar with the my computer links and such but 2.6.3 gets
the REALLYOLD looking one).
The offender there appears to be
> dialog.CentreOnParent();
removing this gets us the new Vista one. Not exactly sure how
this qualifies as a "customization", but there you go. Maybe it is
a bug with RC1 (which maybe I should report?), so it is more
of a note then an actual bug :).
P.S.
http://windowssdk.msdn.microsoft.com/en-us/library/ms674790.aspx
has some good resources on the "new" COM-based filedialog API
and some other new stuff to Vista.
P.P.S.
wxBlog, anyone :D?
More information about the wx-dev
mailing list