Public Function OnContextMenu(ByVal x As Integer, ByVal y As Integer) As Boolean Implements ESRI.ArcGIS.SystemUI.ITool.OnContextMenu ' Get the tool's context menu and show it. Dim uid As New UID uid.Value = "{" & ContextMenu.ClassId & "}" Dim menu As ICommandBar = DirectCast(m_application.Document.CommandBars.Find(uid), ICommandBar) menu.Popup() ' Return True so that ArcMap's Data Frame context menu is suppressed. Return True End Function
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.