i have an internet control on my form n i want to disable the scroll bar property of internet control n also disable the right click on that internet control
Printable View
i have an internet control on my form n i want to disable the scroll bar property of internet control n also disable the right click on that internet control
I don't know about the scrollbars but you can disable the popup menu by using the WBCustomizer.dll that expose the IDocHostUIHandler for you. You can download it from here:
http://support.microsoft.com/kb/q183235/
That's not available for the WebBrowser control so you need the WBCustomizer control.Quote:
Originally Posted by dglienna
Oops. Thats what I get for not trying it first. Thanks. Consider it gone.
EDIT: Actuallly, I didn't read your post clearly enough. I though your link took care of the scrollbars, and I was going to add the mouseup. Its late, and I an starting to make mistakes. :wave:
well so far so good for the right click but how do i disable the scroll bar of intenret control
You mean it worked? Hmmm. I deleted the post because I *assumed* that it didn't work. Tell me how you did it, please? I thought JA had a solution for the scrollbars. I couldn't find anything that allowed it. Maybe you could use a SendMessasge to it, but I'm not sure about that
He obviously downloaded and used the WBCustomizer.dll which allows you to disable the pop-up menu for a WebBrowser control. It also allows you to disable some of the hotkeys (or all of them) associated with the WebBrowser control.Quote:
Originally Posted by dglienna
I did not have a solution for the scrollbars. I had a solution for the popup menu.
OK. I told you that I wasn't having a good night, and still hadn't tried it, so I had to ask.