|
-
Feb 23rd, 2005, 02:19 AM
#1
Thread Starter
Addicted Member
Internet Control
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
-
Feb 23rd, 2005, 02:37 AM
#2
Re: 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/
-
Feb 23rd, 2005, 02:47 AM
#3
Re: Internet Control
 Originally Posted by dglienna
Just check for a right-mousebutton in the mouseup subroutine to see about the right click.
That's not available for the WebBrowser control so you need the WBCustomizer control.
-
Feb 23rd, 2005, 02:55 AM
#4
Re: Internet Control
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.
Last edited by dglienna; Feb 23rd, 2005 at 02:58 AM.
-
Feb 23rd, 2005, 04:03 AM
#5
Thread Starter
Addicted Member
Re: Internet Control
well so far so good for the right click but how do i disable the scroll bar of intenret control
-
Feb 23rd, 2005, 04:25 AM
#6
Re: Internet 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
-
Feb 23rd, 2005, 05:13 PM
#7
Re: Internet Control
 Originally Posted by dglienna
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.
I did not have a solution for the scrollbars. I had a solution for the popup menu.
-
Feb 23rd, 2005, 05:17 PM
#8
Re: Internet Control
OK. I told you that I wasn't having a good night, and still hadn't tried it, so I had to ask.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|