<?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 IApplicationRefreshBitmap, where to get this? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationrefreshbitmap-where-to-get-this/m-p/738080#M19587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to get hold of the IApplicationRefreshBitmap interface to force the refresh of a command item's iconin ArcGIS 10, but I cannot figure out what class implements it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2011 20:18:25 GMT</pubDate>
    <dc:creator>PrestonMcCormick</dc:creator>
    <dc:date>2011-07-06T20:18:25Z</dc:date>
    <item>
      <title>IApplicationRefreshBitmap, where to get this?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationrefreshbitmap-where-to-get-this/m-p/738080#M19587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to get hold of the IApplicationRefreshBitmap interface to force the refresh of a command item's iconin ArcGIS 10, but I cannot figure out what class implements it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 20:18:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationrefreshbitmap-where-to-get-this/m-p/738080#M19587</guid>
      <dc:creator>PrestonMcCormick</dc:creator>
      <dc:date>2011-07-06T20:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: IApplicationRefreshBitmap, where to get this?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationrefreshbitmap-where-to-get-this/m-p/738081#M19588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i'm having the same issue here,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first ESRI mention this in small font at the bottom of a page that they changed the refresh mechanism and commands no longer refreshed automatically.. so they said use IApplicationRefreshBitmap.RefreshBitmap interface which has no class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I even tried to implemnet IApplicationRefreshBitmap in my command figured that ArcMap will detect it and refreshes it but no lock..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a small example will be nice guys you need to work on your documentation and resources it is very poor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I end up using this method to refresh the bitmap &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim uid As ESRI.ArcGIS.esriSystem.UID = New UIDClass
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uid.Value = "Project.Command1"
&amp;nbsp; Dim pCMD As ICommandItem = m_application.Document.CommandBars.Find(uid)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If _current = 0 Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_bitmap = _statuslive
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _current = 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pCMD.FaceID = ESRI.ArcGIS.ADF.COMSupport.OLE.GetIPictureDispFromBitmap(_statuslive)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_bitmap = _statusproposed
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _current = 0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pCMD.FaceID = ESRI.ArcGIS.ADF.COMSupport.OLE.GetIPictureDispFromBitmap(_statusproposed)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pCMD.Caption = NetworkStatus
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pCMD.Tooltip = NetworkStatus 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:26:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationrefreshbitmap-where-to-get-this/m-p/738081#M19588</guid>
      <dc:creator>HusseinNasser</dc:creator>
      <dc:date>2021-12-12T07:26:12Z</dc:date>
    </item>
  </channel>
</rss>

