<?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 ICommandItem.Refresh doesn't call ICommand.Bitmap in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223920#M5763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if is is too early to be reporting problems seen in C++.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a toolbar button that changes its bitmap depending on state. When the state changes we swap the bitmap returnd by ICommand then get the corresponding ICommandItem from the ICommandBars.Find() method and call Refresh. In previous versions this caused the new bitmap to be displayed on the button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if this is an intentional change, or a by-product of the toolbar changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2010 02:07:34 GMT</pubDate>
    <dc:creator>JohnRogers</dc:creator>
    <dc:date>2010-02-23T02:07:34Z</dc:date>
    <item>
      <title>ICommandItem.Refresh doesn't call ICommand.Bitmap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223920#M5763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if is is too early to be reporting problems seen in C++.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a toolbar button that changes its bitmap depending on state. When the state changes we swap the bitmap returnd by ICommand then get the corresponding ICommandItem from the ICommandBars.Find() method and call Refresh. In previous versions this caused the new bitmap to be displayed on the button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if this is an intentional change, or a by-product of the toolbar changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 02:07:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223920#M5763</guid>
      <dc:creator>JohnRogers</dc:creator>
      <dc:date>2010-02-23T02:07:34Z</dc:date>
    </item>
    <item>
      <title>similar problem with ICommandBars.Find() method</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223921#M5764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having a similar issue.&amp;nbsp; The code below works in 9.3.1.&amp;nbsp; In 9.4, it does not seem to set the CommandItem after finding it.&amp;nbsp; It does not throw an error.&amp;nbsp; It just stops and does not execute the CommandItem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Set pCommandItem = Application.Document.CommandBars.Find("Project.ClickParcel")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set Application.CurrentTool = pCommandItem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pCommandItem.Execute&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 17:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223921#M5764</guid>
      <dc:creator>JeanJuengling</dc:creator>
      <dc:date>2010-02-25T17:17:23Z</dc:date>
    </item>
    <item>
      <title>Response from ESRI Support</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223922#M5765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wasn't sure if this forum or ESRI Support was the right way to report this type of issue - so I also entered a support request for it. Support responded:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"According to the following blog post, (9.4/10) Beta is fully-supported by ESRI Technical Support; testers can contact us anytime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://blogs.esri.com/Support/blogs/supportcenter/archive/2009/11/13/looking-to-the-future.aspx" rel="nofollow" target="_blank"&gt;http://blogs.esri.com/Support/blogs/supportcenter/archive/2009/11/13/looking-to-the-future.aspx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After some follow up I was informed that this is already a known issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"I was able to reproduce the issue you mentioned in your email. After some research I found out that this is a known issue. Though the synopsis of this defect does not exactly match your description, it contains information similar to that described in your email. The defect # is, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NIM054116&amp;nbsp; Basecommand::UpdateBitmap Property is ineffective in ArcGIS 10 Beta 2 (Product Version:9.4.0.2307)"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Mar 2010 23:15:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223922#M5765</guid>
      <dc:creator>JohnRogers</dc:creator>
      <dc:date>2010-03-07T23:15:26Z</dc:date>
    </item>
    <item>
      <title>Support incident marked closed - but bug remains in Prerelease</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223923#M5766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just checked my support incident - which is marked as Closed. But testing the the Prerelease shows that the bad behavior remains. The bitmap is not updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have queried this will ESRI support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 23:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223923#M5766</guid>
      <dc:creator>JohnRogers</dc:creator>
      <dc:date>2010-04-14T23:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Beta 10: ICommandItem.Refresh doesn't call ICommand.Bitmap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223924#M5767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any updates with PreRelease version...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 03:06:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223924#M5767</guid>
      <dc:creator>JeyasinghNavaneethan</dc:creator>
      <dc:date>2010-06-15T03:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Beta 10: ICommandItem.Refresh doesn't call ICommand.Bitmap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223925#M5768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm seeing this in our C# application that is using ArcGIS 10.0 SP2. Has there been any word from ESRI what version this issue will be fixed in?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 19:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223925#M5768</guid>
      <dc:creator>WayneGuidry</dc:creator>
      <dc:date>2011-10-12T19:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Beta 10: ICommandItem.Refresh doesn't call ICommand.Bitmap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223926#M5769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any solutions or tips for this yet? I'm running ArcGIS 10 SP 4 and have a similar issue. Sometimes the button redraws with the correct image sometimes I have to drag the cursor across it before the button image changes. I've tried calling iapplication.refreshwindow after icommand.refresh and get the same result. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions would help. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 18:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icommanditem-refresh-doesn-t-call-icommand-bitmap/m-p/223926#M5769</guid>
      <dc:creator>MHawkins</dc:creator>
      <dc:date>2012-04-27T18:27:42Z</dc:date>
    </item>
  </channel>
</rss>

