Español Français Deutsch Italiano Nederlands Svenska Dansk Japanese Chinese (Simplified) Russian
 
AVForums.com twitter AVForums is a member of CEDIA. THX certified reviewer.  Click for more information. AVForums reviewers are ISF Certified.  Click for more information.
 
The UK's biggest and best home entertainment electronics forums  
3.5 million visitors each month


Forums Register Blogs Information Social Groups Search Today's Posts Mark Forums Read
Go Back   AVForums.com > Computers > Operating Systems and Software > Windows XP

Latest AVForums Movie Reviews
Public Enemies - Original Motion Picture Soundtrack CD ReviewAudition Blu-ray ReviewPolice Story Blu-ray ReviewYear One Blu-ray ReviewThe Living Dead At Manchester Morgue Blu-ray Review
Public Enemies Blu-ray ReviewGojira Blu-ray ReviewHalloween II Original Motion Picture Score - Expanded 30th Anniversary Edition CD ReviewStar Trek - Complete Original TV Show Season 2 Blu-ray ReviewNight of the Creeps - Director's Cut Blu-ray Review

Similar Threads
thread Thread Starter Forum Replies Last Post
Pre-order Windows 7 from only £49 - between 15/07/09 & 09/08/09 crossbow Computer Bargains and Discount Codes 254 30-10-2009 12:37 PM
Turning off the power to the turntable whilst the stylus is still on the record parchman Hi Fi Systems and Separates 7 11-07-2009 11:24 AM
Royal household turns to Twitter The News Bot Home Cinema and Tech News 0 10-07-2009 12:15 PM

Reply
 
Thread Tools Display Modes
Old 10-07-2009, 1:12 PM   #1 (permalink)
Member
 
Join Date: Nov 2008
Location: Dundee
Posts: 119
Thanks: Gave 10, Got 16
Turn Off Right-Click in Windows completely

Hi all,

I am looking for info from anyone as to if it's possible to completely disable the right click in Windows XP, e.g. not just in IE (you can still right click flash files, or if you know how to stop right clicking on flash files in IE that'll be good too). Preferably I'd like to use no additional tools or drivers as it will be used for business purposes and I don't want licensing hassle.

Any help would be greatly appreciated.

Soultech
Soultech is offline   Reply With Quote
Old 10-07-2009, 1:15 PM   #2 (permalink)
Member
 
pawnstar's Avatar
 
Join Date: Jun 2009
Posts: 151
Thanks: Gave 11, Got 21
Re: Turn Off Right-Click in Windows completely

Umm.. WHY?

If you need to, I got this from: How to Disable Right Click in Windows XP: 8 steps - wikiHow
  1. Open up the "run" command (if it is disabled use 'Windows Key' + R)
  2. Type in "regedit" but without the quotations. Then push enter.
  3. Navigate to:
  4. [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]
  5. Look for the value name "NoViewContextMenu" (if no such value exists, then just go ahead and create it)
  6. Make sure the type is REG_DWORD
  7. Type in a 0 to disable right clicking and a 1 to enable right clicking.
  8. Restart your computer after the modification.
__________________
Nothing in this world is idiot-proof. New models of idiot come out all the time.
pawnstar is offline   Reply With Quote
Old 10-07-2009, 2:46 PM   #3 (permalink)
Member
 
Join Date: Nov 2008
Location: Dundee
Posts: 119
Thanks: Gave 10, Got 16
Re: Turn Off Right-Click in Windows completely

Thanks for this but this is not exactly what I needed. This only works in Explorer Windows but what I need is for it to work in IE (which I can do) and on Flash (which you can't seem to do completely) which is why I need a full right click disable in Windows so the right click isn't actioned at all.

Thanks anyway.

Alternatively, if anyone can advise of a way to make the left and right click act as a left click this would also be great.

Last edited by Soultech; 10-07-2009 at 2:54 PM.
Soultech is offline   Reply With Quote
Old 10-07-2009, 2:57 PM   #4 (permalink)
Member
 
pawnstar's Avatar
 
Join Date: Jun 2009
Posts: 151
Thanks: Gave 11, Got 21
Re: Turn Off Right-Click in Windows completely

The menu of a flash movie can be disabled using the menu attribute, and setting it to false like so:
<EMBED src=transparent.swf type="text/html;
charset=iso-8859-1" quality="high" menu=false
bgcolor=#000000 WIDTH=120 HEIGHT=30>
__________________
Nothing in this world is idiot-proof. New models of idiot come out all the time.
pawnstar is offline   Reply With Quote
Old 10-07-2009, 3:02 PM   #5 (permalink)
Member
 
Join Date: Nov 2008
Location: Dundee
Posts: 119
Thanks: Gave 10, Got 16
Re: Turn Off Right-Click in Windows completely

Thanks again Pawnstar but that only reduces the menu to 'Settings' and 'About' which will still appear when a right click happens. Unfortunately I need it to not show any menu at all
Soultech is offline   Reply With Quote
Old 10-07-2009, 3:49 PM   #6 (permalink)
Conspicuous Member
 
Singh400's Avatar
 
Join Date: Feb 2006
Location: Earth
Posts: 8,315
Thanks: Gave 500, Got 1,136
Re: Turn Off Right-Click in Windows completely

What exactly are you trying to achieve. Perhaps there is another method to what you are trying to achieve.
__________________
[CPU: Q9450 @ 3.6Ghz|RAM: Corsair PC2-8500 (2x2GB)]
[MOBO: Asus P5Q Deluxe (1406)|HDD#1: Samsung F1 750GB]
[HDD#2: OCZ SSD V1 32GB|GFX: BFG 9800GTX+ OC|PSU: Corsair HX 620W]
Singh400 is offline   Reply With Quote
Old 10-07-2009, 4:59 PM   #7 (permalink)
Member
 
Join Date: Nov 2008
Location: Dundee
Posts: 119
Thanks: Gave 10, Got 16
Re: Turn Off Right-Click in Windows completely

I have a system that runs a fullscreen IE window, that has an embedded Flash file. A user can plug a mouse into it but mustn't be able to see any context menus, in either IE, graphics or on the Flash file. IE has a setting which you can disable website right clicks but this is not effective in Flash. As pawnstar suggested above there is a setting to stop the main context menu in Flash but it still shows a context menu with About and Settings and the requirement is to show no context menus at all.

Left click still needs to be enabled so an overlay is not a suitable suggestion unless it allows left clicks through. Shareware/license tools are not an option either (there are ones out there that do it for teaching kids to use a PC etc) and neither is a single button mouse.

Any suggestions would be gratefully received. I am currently investigating using Windows hooks to programmatically grab the right click and just not action it but any other suggestions would be great.

Thanks
Soultech is offline   Reply With Quote
Old 10-07-2009, 7:26 PM   #8 (permalink)
Prominent Member
 
Join Date: Aug 2006
Location: Redditch
Posts: 4,340
Thanks: Gave 12, Got 864
Re: Turn Off Right-Click in Windows completely

Quote:
Originally Posted by Soultech View Post
I have a system that runs a fullscreen IE window, that has an embedded Flash file. A user can plug a mouse into it but mustn't be able to see any context menus, in either IE, graphics or on the Flash file. IE has a setting which you can disable website right clicks but this is not effective in Flash. As pawnstar suggested above there is a setting to stop the main context menu in Flash but it still shows a context menu with About and Settings and the requirement is to show no context menus at all.

Left click still needs to be enabled so an overlay is not a suitable suggestion unless it allows left clicks through. Shareware/license tools are not an option either (there are ones out there that do it for teaching kids to use a PC etc) and neither is a single button mouse.

Any suggestions would be gratefully received. I am currently investigating using Windows hooks to programmatically grab the right click and just not action it but any other suggestions would be great.

Thanks
How about the Blue Peter Approach , open up the mouse and snip one of the wires off the right button microswitch.
__________________
Topfield5800, Humax9200T, Humax8000, Humax Foxsat-hdr, Denon 1920 DVD, Sony BDP-S350 Blue Ray, Denon AVR4306 AV amp, Sony KDL-40W4000 TV.
grahamlthompson is offline   Reply With Quote
Old 10-07-2009, 7:54 PM   #9 (permalink)
Member
 
Join Date: Nov 2008
Location: Dundee
Posts: 119
Thanks: Gave 10, Got 16
Re: Turn Off Right-Click in Windows completely

haha, nice try . The system is a delivered system so any old mouse could be plugged into it so I have no control over that the solution has to be software i'm afraid.
Soultech is offline   Reply With Quote
Old 10-07-2009, 7:59 PM   #10 (permalink)
Member
 
pawnstar's Avatar
 
Join Date: Jun 2009
Posts: 151
Thanks: Gave 11, Got 21
Re: Turn Off Right-Click in Windows completely

Something like this?

Uza’s Blog & More » Blog Archive » SOLVED: Right Click in AS3
__________________
Nothing in this world is idiot-proof. New models of idiot come out all the time.
pawnstar is offline   Reply With Quote
Thanks from:
Soultech (10-07-2009)
Old 10-07-2009, 8:04 PM   #11 (permalink)
Member
 
Join Date: Nov 2008
Location: Dundee
Posts: 119
Thanks: Gave 10, Got 16
Re: Turn Off Right-Click in Windows completely

hmmmm...let me power up the old laptop and give it a go.

Cheers for the hard work
Soultech is offline   Reply With Quote
Old 10-07-2009, 8:22 PM   #12 (permalink)
Member
 
Join Date: Nov 2008
Location: Dundee
Posts: 119
Thanks: Gave 10, Got 16
Re: Turn Off Right-Click in Windows completely

Have a thanks because I couldn't find any method to do that but (here i go adding more problems) preferably I would like to not have to edit the actual Flash file.

So keep the suggestions coming.
Soultech is offline   Reply With Quote
Old 11-07-2009, 2:01 AM   #13 (permalink)
Member
 
pawnstar's Avatar
 
Join Date: Jun 2009
Posts: 151
Thanks: Gave 11, Got 21
Re: Turn Off Right-Click in Windows completely

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function right(e) {
var msg = "Sorry, you don't have permission to right-click.";
if (navigator.appName == 'Netscape' && e.which == 3) {
alert(msg);
return false;
}
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(msg);
return false;
}
else return true;
}

function trap()
{
if(document.images)
{
for(i=0;i<document.images.length;i++)
{
document.images[i].onmousedown = right;
document.images[i].onmouseup = right;
}
}
}
// End -->
</SCRIPT>
</HEAD>

<!-- STEP ONE: Copy the event handler into the BODY tag -->

<BODY onLoad="trap()">

<!-- Script Size: 0.81 KB -->

Any good?
__________________
Nothing in this world is idiot-proof. New models of idiot come out all the time.
pawnstar is offline   Reply With Quote
Old 13-07-2009, 8:09 AM   #14 (permalink)
Veteran Member
 
Mr Incredible's Avatar
 
Join Date: Dec 2003
Location: St-Annes-On-Sea
Posts: 5,773
Thanks: Gave 656, Got 1,182
Re: Turn Off Right-Click in Windows completely

Would reassigning the right-click in the mouse Control Panel applet work? i.e. make the right button produce a left click action?

__________________
| Bob | | Sony KL-50W2 | Denon 3805 + POA-T10 | Denon 2900 | B&Ws 604/602/LCR600 s3 7.1 | SVS B12-ISD | BFD | Showcenter 200 | Sky+(250GB) | Scorpion & Mark Grant |
| GA-EP45-UD3R | Q6700 @ 3.52GHZ | 8GB OCZ @ 1056 | XFX GTX260 | Corsair 650W TX | Thermalright 120 Extreme | Akasa Infinity |

Last edited by Mr Incredible; 13-07-2009 at 8:11 AM.
Mr Incredible is offline   Reply With Quote



Bookmarks

Tags
completely, rightclick, turn, windows
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT. The time now is 7:41 PM.

AV Forums
Optimised for Firefox.
RSS Feed
AVForums.com is owned and operated by M2N Limited.
Copyright © 2000-2009 M2N E. & O. E.
Global Gold
Web Hosting