Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make IE the active window?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01134211
Message ID:
01134241
Vues:
18
David, I'm unsure about the oie reference syntax as I do not dabble much in this aspect. How will this work with the code I have or will I need to change somewhere?

>Timothy,
>
>
>DECLARE INTEGER SetForegroundWindow IN WIN32API INTEGER hWnd
>SetForegroundWindow( oie.HWND ) && assuming oie is a reference to the IE instance hyperlink creates
>
>
>>Hello, I have a VFP app that opens a browser window but VFP stays on top and active. How do I allow the browser to automatically be the active window? The command from VFP to open the browser is this:
>>
>>THISFORM.Hyperlink1.NavigateTo("https://lmca-server/lmca/bstock.aspx")
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform