<?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 Changing the mouse cursor back to the Select elements tool after VBA code is executed in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/changing-the-mouse-cursor-back-to-the-select/m-p/696541#M18660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is probably easy but I am not sure how to do it.&amp;nbsp; I have a custom tool I developed in VBA; once the tool is used I want to change the mouse cursor back to the Select elements tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David Kelly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 May 2010 13:12:54 GMT</pubDate>
    <dc:creator>DavidKelly1</dc:creator>
    <dc:date>2010-05-13T13:12:54Z</dc:date>
    <item>
      <title>Changing the mouse cursor back to the Select elements tool after VBA code is executed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/changing-the-mouse-cursor-back-to-the-select/m-p/696541#M18660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is probably easy but I am not sure how to do it.&amp;nbsp; I have a custom tool I developed in VBA; once the tool is used I want to change the mouse cursor back to the Select elements tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David Kelly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 13:12:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/changing-the-mouse-cursor-back-to-the-select/m-p/696541#M18660</guid>
      <dc:creator>DavidKelly1</dc:creator>
      <dc:date>2010-05-13T13:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the mouse cursor back to the Select elements tool after VBA code is exec</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/changing-the-mouse-cursor-back-to-the-select/m-p/696542#M18661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been trying to change the mouse cursor.&amp;nbsp; Why does the code below not work.&amp;nbsp; It bombs when it set the value of UID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim pCmdBars As ICommandBars&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set pCmdBars = ThisDocument.CommandBars&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim pCmdItem As ICommandItem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim pUID As New UID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; pUID.Value = "{C22579D1-BC17-11DO-8667-0000F8751720}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 'pUid.Value = "{esriArcMapUI.SelectTool}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set pCmdItem = pCmdBars.Find(pUID)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 'sets the cursor to the Select Elements tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; pCmdItem.Execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 May 2010 18:11:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/changing-the-mouse-cursor-back-to-the-select/m-p/696542#M18661</guid>
      <dc:creator>DavidKelly1</dc:creator>
      <dc:date>2010-05-15T18:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the mouse cursor back to the Select elements tool after VBA code is exec</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/changing-the-mouse-cursor-back-to-the-select/m-p/696543#M18662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a nasty typo in the UID value supplied. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It should be "{C22579D1-BC17-11D0-8667-0000F8751720}", not "{C22579D1-BC17-11DO-8667-0000F8751720}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nir&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 08:54:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/changing-the-mouse-cursor-back-to-the-select/m-p/696543#M18662</guid>
      <dc:creator>NirYoscovitz</dc:creator>
      <dc:date>2010-05-17T08:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the mouse cursor back to the Select elements tool after VBA code is exec</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/changing-the-mouse-cursor-back-to-the-select/m-p/696544#M18663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 11:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/changing-the-mouse-cursor-back-to-the-select/m-p/696544#M18663</guid>
      <dc:creator>DavidKelly1</dc:creator>
      <dc:date>2010-05-17T11:45:30Z</dc:date>
    </item>
  </channel>
</rss>

