Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bring forward another application that's minimized
Message
De
12/11/1998 08:14:04
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00156909
Message ID:
00156911
Vues:
30
>I need to bring a running copy of Word forward from VFP. If Word is not minimized, SetForegroundWindow() works great. If it is minimized, the window doesn't come forward. I guess what I really need to do is find out if it's minimized and if it is restore it.
>
>Any ideas?
>
>Thanks,

If you know the Word window handle (or can find it via its title and FindWindow) then I think you can use ShowWindow API function to bring the Word window to the front.

Unfortunately I don't have my API reference handy just now.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform