Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control FileOpen dialog size, columns, view mode, etc?
Message
 
To
25/05/2005 17:26:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01017674
Message ID:
01017717
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform