Disable Right Mouse Click in Webbrowser Control
Processes Mouse actions for Webbrowser Control enabling you to disable the action. This is an update due to requests from people that could not get it working. I have included a sample project to show it working.
Original Author: Chris Bint
Assumptions
This example code places a HOOK into the message queue. When a new message is received it runs the Function to check the parameters of the the message. If the parameters are the same as what we are searching for, we can then choose to let it carry on or cancel the message. Full source code for the example is included and comments are shown where I can
Side Effects
Application must be exited by closing the form. the Form_unload event UNHOOKS the hook. Your computer may become unstable if you do not follow this, even in the Visual Basic IDE.
About this post
Posted: 2002-06-01
By: ArchiveBot
Viewed: 95 times
Categories
Attachments
CODE_UPLOAD314.zip
Posted: 9/3/2020 3:45:00 PM
Size: 3,202 bytes
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.