i create a program which open the folder directory of my own computer and url that load it to my webbrowser control, and i'll disable the context menu from appear on the webbrowser while right clicking, yes it does it..but its only done when its was a website url and not a my computer directory..how i can disable completely this right click features on my webbrowser even on my whole project? in detail i made a program like this..
- i put this on my form, which it was buton1, button2, Exit button and the webbrowser control
- when button1 was pressed it will show my "C:\Program Files\" directory on the webbrowser
- when buton2 was pressed it will load a "www.google.com" url on my webbrowser
- i disable the context menu by set it to false on my webbrowser properties at "IsWebBrowserContextMenuEnable"
so i can't right click on the webbrowser anymore, but this only done when i pressed button2 and not button1 which is my "C:\Program Files\" directory.
so my question is how i can disable completely this right click features on my webbrowser even on my whole project? hope someone can answer my question :)
- i put this on my form, which it was buton1, button2, Exit button and the webbrowser control
- when button1 was pressed it will show my "C:\Program Files\" directory on the webbrowser
- when buton2 was pressed it will load a "www.google.com" url on my webbrowser
- i disable the context menu by set it to false on my webbrowser properties at "IsWebBrowserContextMenuEnable"
so i can't right click on the webbrowser anymore, but this only done when i pressed button2 and not button1 which is my "C:\Program Files\" directory.
so my question is how i can disable completely this right click features on my webbrowser even on my whole project? hope someone can answer my question :)