C# and the Microsoft Web Browser Control
-
After reading several articles i've managed to get a web control in my windows forms app. The problem is that it still has the default Internet Explorer right-click menu. How do I disable it?? My plans for world domination depend on this!
"Where would you rather be today?"
-
After reading several articles i've managed to get a web control in my windows forms app. The problem is that it still has the default Internet Explorer right-click menu. How do I disable it?? My plans for world domination depend on this!
"Where would you rather be today?"
You could handle this in the event handler function or disable right-click event
R.Bischoff | C++ .NET, Kommst du mit?
-
After reading several articles i've managed to get a web control in my windows forms app. The problem is that it still has the default Internet Explorer right-click menu. How do I disable it?? My plans for world domination depend on this!
"Where would you rather be today?"
Jonny Newman wrote: After reading several articles i've managed to get a web control in my windows forms app. The problem is that it still has the default Internet Explorer right-click menu. Implement IDocHostUIHandler interface: http://www.codeproject.com/csharp/advhost.asp [^] Using the ShowContextMenu method you can show your custom context menu, or leave it clean to get ride of IE's default context menu. Jonny Newman wrote: How do I disable it?? My plans for world domination depend on this! Now you can disable it... and dominate the world ;P Cya