Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi Arto,
as I said: from the hip, just some theorizing on what should be possible.
>
>This might be a problem as there can be numerous of IE opened at the same time, or can you give me an example how to subclass IE to be the "Standard Browser", which gets called for the popup?
There are several browser's based on IE: older AOL, german t-online and a few other's distribute them. So it is doable <g>. Which exe gets called should be in the registry, and testable by ShellExec. Which keys ? Dunno, google or experiment with installing another browser and compare the keys.
Then create an app, which is another shell - IE is just a shell on WebBrowser. Depending on your needs you can build your own form hosting WebBrowser, but if pop-up stopping is your only point of interest (and not for instance a kiosk-like safeguard), I think it is easier to shell IE itself. No need to re-Implement History, Buttons and so on, and the users are "used" to the interface. You need to bind the COM-events and then enhance "your" IE by adding "behavioural checks". Set the registry keys to this exe and test with shellexec().
HTH
thomas
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement