Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Windows Openfile dialog box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00742941
Message ID:
00742963
Vues:
18
There are at least two API functions for this task: GetOpenFileName and GetFileNameFromBrowse.

The latter is a wrapper around the GetOpenFileName. Its interface is more usable in FoxPro, you don't need to allocate memory. Though you need to convert strings between ANSI and Unicode in both directions. Use WideCharToMultiByte and MultiByteToWideChar for the conversion.

Check function declarations at
http://www.news2news.com/vfp/?function=553
http://www.news2news.com/vfp/?function=556
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform