Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wanna know Handle no. of the Window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00118950
Message ID:
00118978
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform