<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : How to change a bitmap &#111;n a ToolBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to change a bitmap &#111;n a ToolBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 01:11:33 +0000</pubDate>
  <lastBuildDate>Sat, 26 Nov 2005 06:52:23 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=3279</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[How to change a bitmap &#111;n a ToolBar : Best way it to set icon in update...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3279&amp;PID=9812&amp;title=how-to-change-a-bitmap-on-a-toolbar#9812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3279<br /><strong>Posted:</strong> 26 November 2005 at 6:52am<br /><br /><P>Best way it to set icon in update handler for command id:</P><P>void CSliderSampleView::OnUpdatePlayerPlay(CCmdUI* pCmdUI) <BR>{<BR>&nbsp;CXTPControl* pControl = CXTPControl::FromUI(pCmdUI);<BR>&nbsp;<BR>&nbsp;if (pControl)&nbsp;<BR>&nbsp;{<BR>&nbsp;&nbsp;pControl-&gt;SetIconId(!m_bPlay || m_bPause ? ID_PLAYER_PLAY : ID_PLAYER_PAUSE);<BR>&nbsp;}&nbsp;<BR>}<BR></P>]]>
   </description>
   <pubDate>Sat, 26 Nov 2005 06:52:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3279&amp;PID=9812&amp;title=how-to-change-a-bitmap-on-a-toolbar#9812</guid>
  </item> 
  <item>
   <title><![CDATA[How to change a bitmap &#111;n a ToolBar : Hello. I have a ToolBar with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3279&amp;PID=9791&amp;title=how-to-change-a-bitmap-on-a-toolbar#9791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=845">VAGB</a><br /><strong>Subject:</strong> 3279<br /><strong>Posted:</strong> 25 November 2005 at 7:57am<br /><br /><P>Hello.</P><P>I have a ToolBar with a resource of 3 images. I need to change these images according to the actions of the user. I mean, one of the images is a "Play" image. I need to change that image for other in grayscale showing that there is no any playing available, for example when the user selects a non playable item of a list.</P><P>I canīt find out the way to make this as I donīt understand very well the tasks that CXTPCommandBars, CXTPCommandBar, CXTPImageManager and CXTPPaintManager develope.</P><P>It seems to be an only object of CXTPCommandBars class that acts as a set of all existing CXTPCommandBar elements. I have tried with CXTPImageManager but it seems to deal only with icons and not with images.</P><P>In addition I have tried to&nbsp;use pIconsInfo-&gt;bUseDisableIcons but it does not work at all. The image remains as it was created.</P><P>I know this may be a rather obvious topic for many users, therefore some explanation of these elements would be very welcome.</P><P>Thanks in advance!<FONT color=#008000 size=2></P></FONT>]]>
   </description>
   <pubDate>Fri, 25 Nov 2005 07:57:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3279&amp;PID=9791&amp;title=how-to-change-a-bitmap-on-a-toolbar#9791</guid>
  </item> 
 </channel>
</rss>