I have a WebBrowser in my application, I need to know where the position of primary touch is in the screen.
this event not fired in the WebBrowser:
Touch.FrameReported += new TouchFrameEventHandler(Touch_FrameReported);
and also this:
GestureService.GetGestureListener(webBrowser1);
How I can do this?
You can add JavaScript function to your page that will call
window.external.notifyto send touch position fromWebBrowserto your C# code. You will need to subscribe toWebBrowser.ScriptNotifyevent and allow JavaScript execution inWebBrowser.