Re: How to disable any user interaction with an embedded browser control ?



"Xavier Roche" <xroche@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:e2igdv$3l5$1@xxxxxxxxxxxxxxxx
Igor Tandetnik wrote:
See IWebBrowser2::put_Silent. This would suppress most user
interaction (but not all - I don't remember exactly which kinds
still go through.

Err, I already tried it, but javascript alert()'s were still going
through apparently :(

Those can be suppressed by implementing IDocHostShowUI (on the same
object that implements IDocHostUIHandler).
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.