>Hello,
>
>I want to know the Handle no. of the existing Window in VFP and also the another window running on.. ? and how to switch on to the another application window .. ?
>
>The reply will be appreciated ..
>
>Willing to get from George tasker..
>
>Regards
>Raj
Hi Raj,
To get the window handle of the main FoxPro window, load the Foxtools library and call MainhWnd(). To get the individual window handles of any FoxPro form's use _WFindTitl() and _WhTohWnd() (also in Foxtools). There's a crossr eferenced help file for Foxtools that you can download from the UT download section (Coding, Syntax & Commands) that will show you exactly how to do this.
If you want to get the window handle of an external window, try downloading the "Is a Windows application running?" file also available in the download section under Win 32 and other APIs.
hth,
George
Ubi caritas et amor, deus ibi est