<?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 Navigating a map with mouse wheel while add-in tool is active reverts to Explore tool in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/navigating-a-map-with-mouse-wheel-while-add-in/m-p/1197055#M8515</link>
    <description>&lt;P&gt;In Pro 3.0.0, I created an add-in following &lt;A href="https://developers.arcgis.com/documentation/arcgis-add-ins-and-automation/arcgis-pro/tutorials/build-a-map-identification-tool/" target="_self"&gt;Build a map identification tool tutorial&lt;/A&gt;.&amp;nbsp; In a map in Pro, when I click on the custom tool to activate it, it is active.&amp;nbsp; Then if I scroll or click and drag with the mouse wheel to navigate in the map, the active tool reverts to being the Explore tool.&amp;nbsp; In Pro 2.x, if I navigated with the mouse wheel, the currently active tool would remain active.&amp;nbsp; I prefer the 2.x behavior.&amp;nbsp; Can I make Pro 3.0 keep my current tool active after navigating with the mouse wheel?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 19:54:59 GMT</pubDate>
    <dc:creator>TimWhiteaker</dc:creator>
    <dc:date>2022-07-28T19:54:59Z</dc:date>
    <item>
      <title>Navigating a map with mouse wheel while add-in tool is active reverts to Explore tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/navigating-a-map-with-mouse-wheel-while-add-in/m-p/1197055#M8515</link>
      <description>&lt;P&gt;In Pro 3.0.0, I created an add-in following &lt;A href="https://developers.arcgis.com/documentation/arcgis-add-ins-and-automation/arcgis-pro/tutorials/build-a-map-identification-tool/" target="_self"&gt;Build a map identification tool tutorial&lt;/A&gt;.&amp;nbsp; In a map in Pro, when I click on the custom tool to activate it, it is active.&amp;nbsp; Then if I scroll or click and drag with the mouse wheel to navigate in the map, the active tool reverts to being the Explore tool.&amp;nbsp; In Pro 2.x, if I navigated with the mouse wheel, the currently active tool would remain active.&amp;nbsp; I prefer the 2.x behavior.&amp;nbsp; Can I make Pro 3.0 keep my current tool active after navigating with the mouse wheel?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 19:54:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/navigating-a-map-with-mouse-wheel-while-add-in/m-p/1197055#M8515</guid>
      <dc:creator>TimWhiteaker</dc:creator>
      <dc:date>2022-07-28T19:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Navigating a map with mouse wheel while add-in tool is active reverts to Explore tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/navigating-a-map-with-mouse-wheel-while-add-in/m-p/1198926#M8553</link>
      <description>&lt;P&gt;I was able to duplicate this issue.&amp;nbsp; It is a bug.&amp;nbsp; I also noticed that when you change this line in the constructor from this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;SketchOutputMode = SketchOutputMode.Screen;&lt;/LI-CODE&gt;&lt;P&gt;to this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;SketchOutputMode = SketchOutputMode.Map;&lt;/LI-CODE&gt;&lt;P&gt;This will limit your tool to Maps only it will not work on Scenes (3 D), however, the active tool doesn't switch to the Explore tool anymore.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 14:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/navigating-a-map-with-mouse-wheel-while-add-in/m-p/1198926#M8553</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2022-08-03T14:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Navigating a map with mouse wheel while add-in tool is active reverts to Explore tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/navigating-a-map-with-mouse-wheel-while-add-in/m-p/1199015#M8555</link>
      <description>&lt;P&gt;That is a nice workaround as long as one doesn't need the tool to work in Scenes. I noticed what is perhaps another bug related to the workaround. There are different click behaviors for these situations:&lt;/P&gt;&lt;P&gt;When SketchOutputMode = SketchOutputMode.Map, you click once to start the sketch, drag to draw the shape, and click again to end the sketch.&lt;/P&gt;&lt;P&gt;When SketchOutputMode = SketchOutputMode.Screen, you click once to start the sketch and keep the mouse button held down, drag to draw the shape, and then release the mouse button to end the sketch.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 16:43:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/navigating-a-map-with-mouse-wheel-while-add-in/m-p/1199015#M8555</guid>
      <dc:creator>TimWhiteaker</dc:creator>
      <dc:date>2022-08-03T16:43:13Z</dc:date>
    </item>
  </channel>
</rss>

