>Hi everybody. Hope you're all well.
>
>I'm trying to "modernize" one application that I worked with 15 years ago, One of those "areas" that, I guess, need modernization of looks is the GETFILE() or GETDIR() dialogs, for example, I like a lot Windows 10's "select files/dirs" dialogs which have the search box on top, just like Windows Explorer, that is very useful to find quickly the file(s) I need to select. Currently VFP9 SP2's GETFILE() and GETDIR() do not have that feature.
>
>Is there any way to use those "modernized" Windows fin file/dir dialogs? Perhaps through Windows ApI or something like that?
>
>Have a nice weekend and TIA.
Hi Luis
My 0,02EUR cent:
Check ctl32
https://ctl32.blogspot.com/ , there is a ctl32_openfiledialog and a ctl32_safeiledialog to start with.
For all I remember one can mimic the openfildialog to getdir(), but somehow don't use it.
I have a slightly altered version of this, and use #DEFINE to redirect all my GETFILE() GETPIC() and PUTFILE() to it. Since this is all old stuff, you must check if the ctl32 stuff is compatible with the build in functions or not.
Lutz
Update: See
https://doughennig.com/papers/Pub/ctl32.pdfUpdated update:
GetDir() is ctl32_folderbrowserdialog ...
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]