Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Some GETFILE() replacement on steroids?
Message
De
18/11/2023 07:08:31
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
17/11/2023 17:08:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01687285
Message ID:
01687286
Vues:
90
J'aime (2)
>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.pdf

Updated 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.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform