Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Browser control - implementing pop up windows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00887760
Message ID:
00887864
Vues:
16
>I have successfully made a functional web browser in VFP8 SP1 using Microsoft's Web Browser control. Now I need to sieze control of any pop up windows, (i.e., force them to never exceed a certain size, not allow more than 1 at a time) but I don't quite understand how to go about this...

Take a look on NewWindow2 web browser event. You can disable the opening of a new window by setting the Cancel parameter to True, and create a new instance of InternetExplorer object with desired window size and pass it back in ppDisp parameter.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform