All behavior about the keydown/keyup not work!

From: Terry (Terry_at_cutesoft.net)
Date: 02/25/05


Date: Sat, 26 Feb 2005 03:54:28 +0800

Hi all .

I am a dotnet developer .

I use C# to declare the IOleClientSite... and use the
System.Windows.Forms.Control.Handle to host the MSHTML (Not WebBrowser).

But I have troubles on these things :

the elements's onkeydown/onkeyup never fired.
the 'TAB' key not works . when I press 'TAB' , the focus-point move to
another dotnet controls.
the UP/DOWN/LEFT/RIGHT Arrow key not works . when I press them , the
focus-point move to another dotnet controls too .
the hot-keys not works . All CTRL+X,C,V not work even at the <input
type=text> element. (I could type into it . the context-menu is ok too)

I use the SPY++ to listen the window "Internet Explorer_Server" , It could
get the WM_KEYDOWN/WM_KEYUP messages .
But why all that things not work ? Is the dotnet catch the messages ?

Could anyone tell me why ? Is there any option I am missing ?

Thanks .



Relevant Pages

  • Re: All behavior about the keydown/keyup not work!
    ... > I use C# to declare the IOleClientSite... ... > WebBrowser). ... > But I have troubles on these things: ... > focus-point move to another dotnet controls too. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: suppress Javascript error messages in vb .net
    ... I have written a webbrowser application in VB .net Framework 1.1. ... You need to ask in a newsgroup with "dotnet" in the name. ...
    (microsoft.public.vb.general.discussion)