>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