Re: Control keys on a IE CommBand - WebBrowser Control

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 05/14/04


Date: Fri, 14 May 2004 19:44:59 -0400


"Sérgio Pinheiro" <sergiop.net@terra.com.br> wrote in message
news:eokPxugOEHA.2480@tk2msftngp13.phx.gbl
> I'm experimenting a very strange problem.
> I have a webbrowser control inside a IE CommBand, everything works
> fine including the backspace and tab keys;
>
> Except the control keys like:
> delete key
> insert key
> and the textbox's context menu.
>
> I'm implementing IInputObject Interface...

Do you call IInputObjectSite::OnFocusChangeIS whenever you gain the
focus? In particular, you should call it from UIActivateIO (when you are
activated) and when a mouse is clicked on your window or any of its
children. The easiset way to achieve the latter is to handle
WM_PARENTNOTIFY message.

-- 
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: Control keys on a IE CommBand - WebBrowser Control
    ... >> I'm experimenting a very strange problem. ... >> I have a webbrowser control inside a IE CommBand, ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • SendInput problem sending the letter Y
    ... I've having a very strange problem using the SendInput API to send ... INPUT inp; ... INPUTkeys = ... /// Sends the keystrokes to the target applications. ...
    (microsoft.public.dotnet.languages.csharp)
  • Control keys on a IE CommBand - WebBrowser Control
    ... I have a webbrowser control inside a IE CommBand, ... Except the control keys like: ... // assim as teclas Backspace e delete vão funcionar corretamente ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Getting mouse position, Moving mouse, Clicking once, and returning mouse to original position
    ... I'm interested in getting the mouse position, moving the mouse to ... Appactivate doesn't work as it's a Flash movie embedded in a WebBrowser ... and although sending the keys to the WebBrowser control (after ...
    (microsoft.public.vb.general.discussion)
  • Re: F2 keydown datagrid
    ... use a message filter and you can trap all keys for an example see ... here it is used for traping events to a webbrowser control ... Michel Posseth ...
    (microsoft.public.dotnet.languages.vb)