Re: Controlling keyboard input to browser control

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 03/23/04


Date: Tue, 23 Mar 2004 09:35:46 -0500


"Adrian" <adrian@xxx.xxx> wrote in message
news:0zP7c.73444$vn.220228@sea-read.news.verio.net
> But isn't there anything specific to the webbrowser control that
> would tell it to ignore the keyboard and/or mouse events, such as
> property to be set?

Try implementing IOleControlSite::TranslateAccelerator. I'm not sure if
WB is calling it though.

> I would have thought this would be a more natural
> option given the fact that as an automation server, the browser
> control

That's an oxymoron. InternetExplorer is an automation server. WebBrowser
is an ActiveX control. Those are two different things.

> could be integrated with applications where you don't
> necessarily have access to the message pump.

Such as?

-- 
With best wishes,
    Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


Relevant Pages

  • Re: WebBrowser Control: Stopping dialogs from showing up
    ... Popups are harder to suppress than a simple property of the web browser ... Popup Blocking Code for the web browser control: ... As far as the Silent property - I don't have alot of experience with the ... > Cant the 'Window' object of html be accessed through WebBrowser control? ...
    (microsoft.public.vb.general.discussion)
  • Re: Problem with webbrowser control
    ... ActiveX controls (they wouldn't work on Windows CE even if it did). ... something that an instance of the browser control does outside of IESample ... cookies just fine from the sites I'm visiting. ... I seem to have a strange problem with the webbrowser control: ...
    (microsoft.public.dotnet.framework.compactframework)
  • XP SP2 and DWebBrowserEvents
    ... Our company is using a webbrowser control in a custom C# .NET ... the container control for the webbrowser ... the interface for DWebBrowserEvents the control works as it should ... clue I have is that when the webbrowser's Navigate or Navigate2 ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • SP2 and sinking webbrowser events
    ... Our company is using a webbrowser control in a custom C# .NET ... the container control for the webbrowser ... the interface for DWebBrowserEvents the control works as it should ... clue I have is that when the webbrowser's Navigate or Navigate2 ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Webbrowser control looses sessionid on "newwindow"
    ... I do not have control over the web page. ... are errors then they are output to the window). ... instance of the webbrowser control), ... I haven't gone to the trouble of creating a beresque browser to test your ...
    (microsoft.public.windows.inetexplorer.ie6.browser)