Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Popups and Background with _webbrowser4
Message
From
25/01/2005 11:11:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Popups and Background with _webbrowser4
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00980421
Message ID:
00980421
Views:
51
How can I prevent popups using _webbrowser4?
I've tried setting CANCEL=.T. in NewWindow2(), but it doesn't work.
I can have the popup initialize offscreen, so they're invisible, but that still leaves me with another problem.

I have my app designed to work in the background, continually reloading a URL. But every time it reloads and a popup appears, it brings my app to the foreground. Even though I have the popup offscreen (so it's invisible) the app pops up over whatever window I'm working in (and sets focus to it), so whatever I'm typing at the moment goes into the wrong window.

TIA
Bill Morris
Next
Reply
Map
View

Click here to load this message in the networking platform