Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control FileOpen dialog size, columns, view mode, etc?
Message
 
À
25/05/2005 17:26:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01017674
Message ID:
01017717
Vues:
22
This message has been marked as a message which has helped to the initial question of the thread.
Hi Malcolm,

>Is there any way to invoke a FileOpen dialog (native VFP getfile(), CommonDialog ActiveX, Shell COM, or 3rd party product) where one can control the following properties of the file open dialog:

How much time do you want to spend on this?

If you can control these options, you can do so by using the API functions directly (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/commondialogboxlibrary/aboutcommondialogboxes/openandsaveasdialogboxes.asp). At first glance, I didn't see anything in there that we cannot handle in VFP 9. The function requires a callback pointer. The signature of the function is identical to the WndProc function in regular VFP forms. You should be able to use GetWindowLong() to pass the window procedure of a VFP window and then use BINDEVENT() to capture all the call back messages. For the structures you can use Ed's ClsHeap, my struct class, or native VFP functions like BINTOC() and SYS(2600).
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform