THE WEB BROWSER CONTROL

There is a common requirement of hosting the WebBrowser Control. It is the ability to override or add to the context menus that are displayed as the result of a right-click in the browser window. This is of particular interest to applications that are using the WebBrowser Control to view rich content but do not want the user to know that HTML is being viewed. This is also advantageous for applications that do not want the user to be able to view the HTML source for the content.
To achieve this, there are two techniques. First involves the use of the IDocHostUIHandler interface and allows an application to disable or replace the context menus. The second technique involves the use of the registry and allows the existing context menus to be extended

Sorry, the comment form is closed at this time.


Bad Behavior has blocked 17 access attempts in the last 7 days.