>HEllo George,
>
>
>>>Now, the question is "Is there any way to replace foxtools functions with their API analogs?"
>>Probably using FindWindow() to get the main VFP window, then FindWindowEx() to retrieve the child caption. FWIW, all VFP windows have the window handle hWnd as a property in 7.0.
>
>
>I'm using VFP6.0 SP4... Any samples of using FindwindowEX?
>
>Thanks in advance
I'll post a precise answer tomorrow. In the meantime, check the VFUG site for May's (I think) newsletter. I wrote an article on the MS Calendar 8.0 control that uses FindWindowEx().
George
Ubi caritas et amor, deus ibi est