Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Other running applications?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00699321
Message ID:
00699342
Vues:
15
>Could someone please tell me how I can get a handle to Word and then activate it. I've been trying to use FindWindow but that requires the exact window name.
>
>Thanks in anticipation.

You can use Word Class instead of Window name. Like:

DECLARE INTEGER FindWindow IN Win32API;
STRING @lpClassName, STRING @lpWindowName
pClass_name="OpusApp" &&for MS Word
hWnd = FindWindow(pClass_name, 0)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform