>Thanks, George...I was trying to not use the FoxTools library if possible (extra overhead)
>
Understood. If you're using 7.0 or above, there's now an hWnd property, so you don't even have to use the API.
>>>Quick question...What is the equivilant API call for the Foxtools 'MainHWND' function?
>>>
>>>TIA
>>
>>About the closest you'll get is FindWindow(). VFP manages its windows internally through the windows whandle. There's no direct colloary between hWnds and whandles. Take a look at my Extended Foxtools Help. Where there is a function in the library that maps directly to an API call, it's noted.
George
Ubi caritas et amor, deus ibi est