Microsoft Web Browser - no scroll bars and no right click?
-
In my form I use Microsoft Web Browser that support NewWindow2 event. In habitual WebBrowser object there are properties that do what i need but in Microsoft Web Browser i can not find this properties. 1)I need to disable scroll bars. 2)I need to disable menu of right click. 3)I need to disable option of 3 mouse button in browser. How do I do this in Microsoft Web Browser? p.s. I create programm that has small web browser (50x50 px) and i need that user only can do left click in the browser.
-
In my form I use Microsoft Web Browser that support NewWindow2 event. In habitual WebBrowser object there are properties that do what i need but in Microsoft Web Browser i can not find this properties. 1)I need to disable scroll bars. 2)I need to disable menu of right click. 3)I need to disable option of 3 mouse button in browser. How do I do this in Microsoft Web Browser? p.s. I create programm that has small web browser (50x50 px) and i need that user only can do left click in the browser.
-
You can use
webBrowser1.ScrollBarsEnabled = false;
in .NET. As for right click I'd do it with javascript on the actual page, haven't a clue how to do it with code. -
You can use
webBrowser1.ScrollBarsEnabled = false;
in .NET. As for right click I'd do it with javascript on the actual page, haven't a clue how to do it with code.Microsoft Web Browser have not ScrollBarsEnabled property. I speak about browser that described here http://support.microsoft.com/kb/815714 It is another WebBrowser, not habitual web browser from ToolBar. It is located here - COM Components-Microsoft Web Browser.