Hello all How to prevent Right click menu in VBA. Thanks in advance. Sri
Options --> User Preferences --> Right Click Customization. You can set it so that if the user right clicks, it'll repeat the last command and not show the shortcut menu.
If you want to completely wipe out anything that is seen from a right mouse click you will do this through the registry and any addition SHELL requirements. I have a doc somewhere that includes what you will need to address to knock this shell layer. It is something that you can do easily with scripts by enabling and disen.. If I find it I'll post....else, enjoy Regards, Bob Coward CADS, Inc 800-366-0946
POPs 500+ in your acad.mns file controls right click. Add or delete what you want...Better yet to start just comment out what you dont' want. I have most common commands I use in my right click meun. Make backups of all your acad.mn* files before editing. Make sure you edit acad.mns, leave your acad.mnu alone.. gl Paul
ThisDrawing.Application.Preferences.User.SCMCommandMode = 0 ThisDrawing.Application.Preferences.User.SCMDefaultMode = 0 Regards - Nathan