PDA

View Full Version : Disablong the right mouse button



waqas007
04-10-2000, 09:46 PM
hi. could any one let me know how to disable the right mouse button so that when u click it u get absolutely no menu.Also how could u set ur mouse so that when u click on the START button it displays the shut down dialog box with "restart in MS-DOS MODE" radio button disabled. Thanks.

jstolz
04-11-2000, 02:19 AM
Okay, both of these require registry changes:

1. Disabling right click capability
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer]
"NoViewContextMenu"=dword:00000001 ;disable context menus for the desktop, start button, and explorer
"NoTrayContextMenu"=dword:00000001 ;disable right click functionality (although limited) to the taskbar and tray area

2. I'm assuming what you meant to say is that when you click on Start, and select Shut down..., that the dialog box has no functioning option to restart in MS-DOS mode. If so,

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\WinOldApp]
"Disabled"=dword:00000001 ;disable MS-DOS Prompt including shutdown option
"NoRealMode"=dword:00000001 ;disable Single-Mode MS-DOS

I can't remember for (1) above, but you have to reboot for (2) to take effect.

Regards...

waqas007
04-11-2000, 04:29 AM
thanks. ur info on the right mouse button was ok. however what I meant for the right mouse button was that whenever u click on it u get nothing except the shut down dialog box. that's it. No programs,no run,no find. As soon as u click on it it takes u directly to the shut down dialog box. Thanks.

jstolz
04-11-2000, 05:53 AM
I don't think you can do that. The reason is that the start menu context menu derives it's functions from those given to a regular folder. I suppose you could provide a rundll.exe command of some kind that would call up the exit windows dialog box, but then that right-click function would appear for all drives and folders as well... I doubt you'd want that.

Regards...