Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some GETFILE() replacement on steroids?
Message
From
20/11/2023 19:35:10
 
 
To
18/11/2023 07:08:31
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01687285
Message ID:
01687293
Views:
77
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 ...
Previous
Reply
Map
View

Click here to load this message in the networking platform