Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make IE the active window?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01134211
Message ID:
01134232
Views:
16
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")
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform