Surface SDK and WPF Chromium

Feb 1, 2011 at 11:19 AM
Edited Feb 1, 2011 at 11:20 AM


I am trying to use the WPF Chromium componen using Microsoft Surface. For viewing webpages it works great. However, I'm running into some problems with controlling the webbrowser instances. Touch events are not recognized by the component.

I have read on the Awesomium forum that I could use the InjectMouse function to reroute touch events to mouse-clicks. It this InjectMouse available in WPF Chromium (I'm using .NET 3.5). Or are there any other approaches to this problem?


Feb 1, 2011 at 1:11 PM
Edited Feb 1, 2011 at 1:12 PM

Hi - The WebBrowser control calls Awesomium's InjectMouse and InjectKeyboard methods, but (as I recall) doesn't currently expose them publicly.  It should be pretty easy to tweak the WebBrowser class to make these methods public :)

Hope this helps!