>>>>>Hello All,
>>>>>sorry to post this again but I think my timing was out last time, is it possible to access the Common Dialogues boxes using the Windows API, as I would like to be able invoke them from within a prg
>>>>>
>>>>>Thanks
>>>>>
>>>>>Pete Kane
>>>>
>>>>Can you create container class, drop ComDlg Active-X there and use it in your prg?
>>>
>>>Ed,
>>>I never thought of that thanks, but back to my original question can I utilise the Win API?
>>
>>I have never considered this. I guess that George Tasker will be helpful here.
>
>Ed,
>thanks again, I'll give him a knock
>
>Regards
>
< knock, knock >< bg >
Oh, Hi Pete,
I'd stick with using the Common Dialogs ActiveX control. It's been awhile since I've looked at some these functions, but as I recall, it's difficult, if not impossible to use them with VFP. For example, the GetOpenFileName function, requires a OPENFILENAME structure that includes both pointers to strings, but pointers to procedure hooks, as well as some other goodies.
George
Ubi caritas et amor, deus ibi est