Re: OnNewWindow with javascript url?



<key88sf@xxxxxxxxx> wrote in message
news:1145310013.490779.167100@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Igor - I discovered something here. I am implementing
IOleCommandTarget according to
(http://support.microsoft.com/default.aspx?scid=kb;en-us;261003) in
order to disable the script error dialogs but still allow user logins
via http-auth dialogs. If I disable my IOleCommandTarget
implementation, then I *do* get the OnNewWindow[23] call for the
javascript popup. If my IOleCommandTarget is active (by being returned
by IServiceProvider::QueryService), then I get this popup problem.
Any ideas? Is my implementation of QueryService correct?

Does your Exec implementation get called? If so, what IDs do you get?
--
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


.



Relevant Pages

  • Re: OnNewWindow with javascript url?
    ... I am implementing IOleCommandTarget ... order to disable the script error dialogs but still allow user logins ... then I get this popup problem. ... guidService, REFIID riid, void **ppv) ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: IOleCommandTarget - webbrowser
    ... can answer the question how to implement IOleCommandTarget. ... according to catch those annoying script error dialogs. ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.vc.atl)
  • IOleCommandTarget - webbrowser
    ... according to catch those annoying script error dialogs. ... I have a CWindowImpl derived class hosting a webbrowser ... I derived the class also from IOleCommandTarget and overwrote ...
    (microsoft.public.vc.atl)