Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need to get the list of applications working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00426736
Message ID:
00582592
Vues:
40
Thank You George, that did it!
Peter
>>Hi!
>>I am using a loop with GetWindow and GW_HWNDNEXT, but the window I am looking for does not come up in the list. It is visible and I can see a title bar, but it doesn't get recognized by the GetWindow loop. What else could I do to find it? I need to wait until it is done with what it is doing before I can continue in my program.
>
>Try retrieving the desktop window handle and use it as the first call, to retrieve the first child window at the top of the Z-Order.
DECLARE INTEGER GetDesktopWindow IN Win32API
>DECLARE INTEGER GetWindow IN Win32API;
>  INTEGER hwnd, INTEGER dflag
>lnhwnd = GetDesktopWindow()
>lnchild = GetWindow(lnhwnd, GW_CHILD) && GW_CHILD = 5
The proceed from there using GW_HWNDNEXT.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform