Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Some GETFILE() replacement on steroids?
Message
De
20/11/2023 19:35:10
 
 
À
18/11/2023 07:08:31
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01687285
Message ID:
01687293
Vues:
78
Thanks Lutz, I'll give it a try.


>>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 ...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform