Re: All behavior about the keydown/keyup not work!
From: Terry (Terry_at_cutesoft.net)
Date: 02/27/05
- Next message: Mike J: "WebBrowserCtrl Memory Usage"
- Previous message: mayayana: "Re: How to get source HTML from WebBrowser?"
- In reply to: Igor Tandetnik: "Re: All behavior about the keydown/keyup not work!"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 27 Feb 2005 12:01:08 +0800
Thanks .
I have resolve it by
((IOleInPlaceActiveObject)_doc).TranslateAccelerator(ref olemsg); the at
public override bool PreProcessMessage(ref Message msg)
Regards , Terry .
"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:e6NTB94GFHA.3272@TK2MSFTNGP10.phx.gbl...
> "Terry" <Terry@cutesoft.net> wrote in message
> news:uEhEVP3GFHA.3272@TK2MSFTNGP10.phx.gbl
>> 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)
>
> See http://www.microsoft.com/mind/0499/faq/faq0499.asp . It talks about
> C++ code though - I have no idea how any of it translates to .NET
> --
> 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
>
- Next message: Mike J: "WebBrowserCtrl Memory Usage"
- Previous message: mayayana: "Re: How to get source HTML from WebBrowser?"
- In reply to: Igor Tandetnik: "Re: All behavior about the keydown/keyup not work!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|