Block Toolbar choice programmatically in ArcMap 10.1

840
1
02-10-2014 01:47 AM
TeoD_Smyrni
New Contributor
With an extension I can block ArcMap's Customize menu using following code line:
  
>  ArcMap.Application.LockCustomization("password");

But, it makes no sense since by right-click on Toolbar docking area, user still can add any toolbar he wants. Is there a way to block that right click menu too?
0 Kudos
1 Reply
TeoD_Smyrni
New Contributor
Turns out it can be done using ICustomizationFilter, but functionality is broken in 10 and 10.1, [ fixed in 10.2.1 ]. Known as issue NIM092574.
0 Kudos