VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Disable Right Mouse Click in Webbrowser Control

by Chris Bint (1 Submission)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

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.

Assumes
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.

Rate Disable Right Mouse Click in Webbrowser Control

Download Disable Right Mouse Click in Webbrowser Control

Download Disable Right Mouse Click in Webbrowser Control (3 KB)

Disable Right Mouse Click in Webbrowser Control Comments

No comments have been posted about Disable Right Mouse Click in Webbrowser Control. Why not be the first to post a comment about Disable Right Mouse Click in Webbrowser Control.

Post your comment

Subject:
Message:
0/1000 characters