I'm trying to setup a WebBrowser where I can open up new tabs by middle mouse clicking links.
First tried the Click/MouseDown events for both the WebBrowser and WebBrowser.Document which only trigger on left clicks. Then I tried making overidding the WndProc procedure on the WebBrowser where I ran into my problem. I can get middle mouse presses this way and then send a click through to the link, but it also begins autoscrolling. Also tried to see if I could override WndProc on the WebBrowser.Document, but it is a sealed class.
I've tried looking for alternatives to the WebBrowser component because I'm not totally happy with using it in the first place. Options for replacing it seem to be seems to be either packaging webkit/gecko or build my own browser ontop of a html rendering component. I didn't like webkit/gecko much because of the extra size it adds to the program. I haven't had much luck with finding a html rendering component that does what I want.