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