views:

472

answers:

1

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?

+1  A: 

Hi James,

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

Hope this helps

Anvaka
Thanks for the suggestion - I'll use that as a backup.
James Cadd