Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wanna know Handle no. of the Window
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00118950
Message ID:
00118978
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform