kroy_74

ICustomizationFilter in 10.2.1

Discussion created by kroy_74 on Mar 2, 2014
Dear Friends
       I want to prevent user to add toolbar by right clicking arcmap gray area. It was achieved successfully  in Agis 9.1 to 9.3.After migrating to 10.1 we came to to know that this is  known bug in 10.1 and  has been fixed in 10.2.1. So we have  upgraded to agis 10.2.1. but still we are facing same issue .The OnCustomizationEvent doesn't fire for the toolbars which are already present in the toolbar area For example if editor tool bar is already present in the arcmap if i want to hide by right clicking and then clicking on editor the event will not fire.similarly if toolbar not present  then the event fires but the eventCtx object provides string value
i,e "toolbar"

Friends please help me for this issue...Thanks in advance

Public Function OnCustomizationEvent(ByVal custEventType As ESRI.ArcGIS.Framework.esriCustomizationEvent, ByVal eventCtx As Object) As Boolean Implements ESRI.ArcGIS.Framework.ICustomizationFilter.OnCustomizationEvent

Outcomes