How do I disable the context menu in the IE WebBrowser
control and instead perform custom handling of the right-click event in C#?
views:
1095answers:
3
+2
A:
AddHandler Me.WebBrowser1.Document.ContextMenuShowing, AddressOf WebContextMenuShowing
I litterally copied your question and worked my google-fu on it...
SchizoDuckie
2009-03-17 23:10:14
Thanks, I'll put in C# form
Jen
2009-03-17 23:14:14
+1
A:
Actually:
WebBrowser browser;
browser.IsWebBrowserContextMenuEnabled = false;
This pretty much tells the WebBrowser that the right-click context menu is not welcome.
Paulo Santos
2009-05-19 00:55:16