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:
00699668
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)
>>
>>Yuri,
>>
>>Ok that looks good but what on earth is OpusApp?
>
>See fo instance, http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q104710&. There are listed many classes used for common windows applications.


Thank you all for your suggestions.
Caroline
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform