Select to view content in your preferred language

How to disable Tools Context menu in the ArcMap?

2821
4
Jump to solution
01-16-2014 02:31 AM
SanajyJadhav
Deactivated User
Hello,

We are developing an ArcMap Extension in which we are removing few built-in tools and commands using interface ICustomizationFilter and ICommandItem::delete. I have been successful for most of them but not for removing the Toolbar Context Menu which appears after right clicking grey toolbar area in the ArcMap. Basically, we do not want our users to add/remove toolbars using this context menu, so want to lock the customization.

So, I am really stuck on this. I have tried a lot but no success so far. The UID which I have been using for this Toolbar Context menu "{2AE639DD-1C2F-11D2-94B6-080009EEBECB}".

So, any help on this problem will be appreciated. The screen shot for this context menu is attached for more clarity.

Thanks,
S.
0 Kudos
1 Solution

Accepted Solutions
DavidLednik
Frequent Contributor
Hi Sanjay,

This is a know issue logged as NIM092574 and it's marked as fixed in v10.2.1:
"In ArcGIS 10.0 and ArcGIS 10.1, the ???esriCustomizationEvent.esriCEInvokeCommand??? event does not get fired when a toolbar is requested; this worked in ArcGIS 9.3.1."

Regards,
David

View solution in original post

0 Kudos
4 Replies
DavidLednik
Frequent Contributor
Hi Sanjay,

This is a know issue logged as NIM092574 and it's marked as fixed in v10.2.1:
"In ArcGIS 10.0 and ArcGIS 10.1, the ???esriCustomizationEvent.esriCEInvokeCommand??? event does not get fired when a toolbar is requested; this worked in ArcGIS 9.3.1."

Regards,
David
0 Kudos
SanajyJadhav
Deactivated User
Hello David,

Thanks for letting me know. I appreciate it.

Thanks,
S.
0 Kudos
kaustavroy
Deactivated User
Still this issue is not solved in 10.2.1

Please refer this post
http://forums.arcgis.com/threads/103796-ICustomizationFilter-in-10.2.1
  Please post if there are ohter alternative way to achieve this...Your solution is greatly appreciated
0 Kudos
SanajyJadhav
Deactivated User
Hello,

I have tested this issue in 10.2.1 also and found that it is not fixed.The �??esriCustomizationEvent.esriCEInvokeCommand�?? event does not get fired when a toolbar is requested by right clicking on the grey area on the ArcMap.

Any help on this is appreciated.

Thanks.
0 Kudos