Jump to content
Sign in to follow this  
GoogleDude

Disable Right click on EmbeddedIE window in simple gui?

Recommended Posts

GoogleDude

I have created a simple embedded IE window inside a very simple gui that points to a url. Is it possible to disable the right mouse button anywhere in either the embedded ie window it the entire gui? I found '?do=embed' frameborder='0' data-embedContent>> but was a little lost and it would crash the main autoit.exe then disable my entire mouse from doing anything and I would have to CTL+ALT+DEL then taskmanager my way back.

Thanks,

~GD

Share this post


Link to post
Share on other sites
lowray1975

Take a look at the _IEHeadInsertEventScript documentation in the help file.  The second example demonstrates exactly how to do this.

Share this post


Link to post
Share on other sites
GoogleDude

Awesome That worked perfect. Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×