<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get selected menu option from context menu in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479052#M12986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here’s what I needed to do to fix the tools so that I'd get the correct menus and so the tool sketch would work properly.&amp;nbsp; I deprecated the old ones and built new ones with the coaching of one of the ESRI staff, Yuan.&amp;nbsp; Yeay for Yuan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right-click on the project and Add an item.&amp;nbsp; Select the ArcGIS desktop addins and then select the Add-in component.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AddinComponent.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/129283_AddinComponent.PNG" style="width: 620px; height: 220px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the construction tool.&amp;nbsp; For this particular tool I set it up to be a polyline.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AddinConstructionTool.PNG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/129350_AddinConstructionTool.PNG" style="width: 620px; height: 365px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add the custom methods to the tool methods. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2015 13:09:28 GMT</pubDate>
    <dc:creator>soniadickerson1</dc:creator>
    <dc:date>2015-10-02T13:09:28Z</dc:date>
    <item>
      <title>Get selected menu option from context menu</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479048#M12982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm converting a 9.3.1 esri desktop extension to a 10.2.2 addin and have a split tool that leaves a temporary line when the user right-clicks in the map to get the context menu and selects the delete sketch option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what it leaves:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/99924_pastedImage_0.png" style="width: auto; height: auto; float: none;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the context menu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="contextmenu.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/99929_contextmenu.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I tell when the user selects the delete sketch option from this menu?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;P&gt;Sonia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 17:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479048#M12982</guid>
      <dc:creator>soniadickerson1</dc:creator>
      <dc:date>2015-05-14T17:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get selected menu option from context menu</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479049#M12983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what you are asking - do you want to catch event that happens WHEN the user presses that button? or when the magic happens?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/d/0016000000tz000000.htm" title="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/d/0016000000tz000000.htm"&gt;ArcObjects 10 .NET SDK Help&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 05:32:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479049#M12983</guid>
      <dc:creator>TeroRönkkö</dc:creator>
      <dc:date>2015-05-15T05:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get selected menu option from context menu</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479050#M12984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add to Tero's question, the first image above it looks like a graphic has been drawn not a sketch, which is it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 10:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479050#M12984</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2015-05-15T10:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get selected menu option from context menu</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479051#M12985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the user selects the delete sketch option, I want to call the OnDeactivate method which just clears all of the variables and refreshes the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duncan asked about the image- yes, the line is a sketch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 12:15:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479051#M12985</guid>
      <dc:creator>soniadickerson1</dc:creator>
      <dc:date>2015-05-15T12:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get selected menu option from context menu</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479052#M12986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here’s what I needed to do to fix the tools so that I'd get the correct menus and so the tool sketch would work properly.&amp;nbsp; I deprecated the old ones and built new ones with the coaching of one of the ESRI staff, Yuan.&amp;nbsp; Yeay for Yuan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right-click on the project and Add an item.&amp;nbsp; Select the ArcGIS desktop addins and then select the Add-in component.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AddinComponent.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/129283_AddinComponent.PNG" style="width: 620px; height: 220px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the construction tool.&amp;nbsp; For this particular tool I set it up to be a polyline.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AddinConstructionTool.PNG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/129350_AddinConstructionTool.PNG" style="width: 620px; height: 365px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add the custom methods to the tool methods. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 13:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-selected-menu-option-from-context-menu/m-p/479052#M12986</guid>
      <dc:creator>soniadickerson1</dc:creator>
      <dc:date>2015-10-02T13:09:28Z</dc:date>
    </item>
  </channel>
</rss>

