Welcome Guest Search | Active Topics | Sign In | Register

TEST Options
Fly
Posted: Tuesday, December 1, 2015 6:05:25 AM
Rank: Newbie
Groups: Member

Joined: 12/1/2015
Posts: 1
我希望你们开放鼠标和按键事件(I hope you open the mouse and key events):


Code: C#
ProcessKeyDown(System.Windows.Input.KeyEventArgs)
ProcessKeyPress(System.Windows.Input.TextCompositionEventArgs)
ProcessKeyUp(System.Windows.Input.KeyEventArgs)
ProcessMouseDown(System.Windows.Input.MouseButtonEventArgs)
ProcessMouseMove(System.Windows.Input.MouseEventArgs)
ProcessMouseUp(System.Windows.Input.MouseButtonEventArgs)
ProcessMouseWheel(System.Windows.Input.MouseWheelEventArgs)

eo_support
Posted: Wednesday, December 2, 2015 9:04:45 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,201
Hi,

You can handle these events on the WebView class directly (except for MouseWheel). For example, the WebView exposes MouseDown event:

http://www.essentialobjects.com/doc/eo.webbrowser.webview.mousedown.aspx

Note that these events do not participate WPF event pipeline. So you will not be able to do the normal WPF bubbling and tunneling with these events.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.