I have a document loaded into WebBrowser
.
I want it to stay scrollable and reactive to mouse moves (changing the color at onmouseover and etc), but totally not reactive to mouse clicks and key presses.
How I can do that?
I can't use WebBrowser.Document.Click
event.
AllowNavigation
is also not an option. It suppresses navigation only, but not reactions like scripted ones.
I saw PreviewKeyDown
event, but I don't see anyway how I can cancel press propagation. Usually we have something like e.Cancel
in events like this.