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:
01134241
Views:
17
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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform