<?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: How to know that a custom tool is Active or Focussed? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1294101#M9885</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;&amp;nbsp; Ya I tried that but I was not be able to override the Tool class’s virtual methods when I am inheriting from MapTool class.&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 15:41:16 GMT</pubDate>
    <dc:creator>newbiedotnetguy</dc:creator>
    <dc:date>2023-05-30T15:41:16Z</dc:date>
    <item>
      <title>How to know that a custom tool is Active or Focussed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1293995#M9880</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do we have&amp;nbsp;OnActivate kind of thing in MapTool just like we have in DockPane to know whether the map tool is active or focussed (which we generally know when there is blue border around the whole pane or tool)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 11:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1293995#M9880</guid>
      <dc:creator>newbiedotnetguy</dc:creator>
      <dc:date>2023-05-30T11:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to know that a custom tool is Active or Focussed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1294041#M9882</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I understood what you want, you can override&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic10010.html" target="_self"&gt;OnToolActivateAsync&lt;/A&gt; method if MapTool is yours.&lt;/P&gt;&lt;P&gt;To get which tool is active in ArcGIS Pro, you can use&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic16010.html" target="_self"&gt;FrameworkApplication.ActiveTool&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 13:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1294041#M9882</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-05-30T13:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to know that a custom tool is Active or Focussed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1294048#M9883</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;&amp;nbsp; No I am talking about the small blue border that comes when clicked inside the pane or tool. And if clicked on the map that border disappears.&lt;/P&gt;&lt;P&gt;So I need to find a way to get that information when user clicked inside the UI to know it is focussed and when clicked on the map I need to know UI is now unfocussed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This same thing is present in dock pane using OnActivate.So similar kind of thing in map tool. There is one method not in MapTool but in Tool class by the name of OnPaneActivate but it is internal.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 13:57:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1294048#M9883</guid>
      <dc:creator>newbiedotnetguy</dc:creator>
      <dc:date>2023-05-30T13:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to know that a custom tool is Active or Focussed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1294054#M9884</link>
      <description>&lt;P&gt;MapTool has &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic16027.html" target="_self"&gt;OnActivePaneChanged&lt;/A&gt;.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        protected override bool? OnActivePaneChanged(Pane pane)
        {
            return true;
        }&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 30 May 2023 14:11:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1294054#M9884</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-05-30T14:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to know that a custom tool is Active or Focussed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1294101#M9885</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;&amp;nbsp; Ya I tried that but I was not be able to override the Tool class’s virtual methods when I am inheriting from MapTool class.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 15:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-know-that-a-custom-tool-is-active-or/m-p/1294101#M9885</guid>
      <dc:creator>newbiedotnetguy</dc:creator>
      <dc:date>2023-05-30T15:41:16Z</dc:date>
    </item>
  </channel>
</rss>

