Question

I'm hosting some web content in a WPF app using the WebBrowser control (or Frame, havent' decided yet). There are some external influences that I'd like to use to simulate mouse wheel behavior in the web content. Is there a way for my WPF app to send mouse messages to the WebBrowser control, with a Delta (scroll) value that I specify?

Was it helpful?

Solution

If you will not find anything simpler try this. Get WebBrowser window handle, and SendMessage() WM_MOUSEWHEEL to it...

Hope this helps

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top