<?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 : Map a control ID to certain icon ID?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Map a control ID to certain icon ID?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 00:47:20 +0000</pubDate>
  <lastBuildDate>Sat, 11 Apr 2009 17:17:03 +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=13970</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[Map a control ID to certain icon ID? : I have been unable to get the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13970&amp;PID=47793&amp;title=map-a-control-id-to-certain-icon-id#47793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4571">randallmking</a><br /><strong>Subject:</strong> 13970<br /><strong>Posted:</strong> 11 April 2009 at 5:17pm<br /><br />I have been unable to get the Actions to work for IconID. The ActionsSampe for VB does not show an IconID sampe and if I add the code:<DIV>&nbsp;</DIV><DIV>Commandbars.Actions(ID_FILE_NEW).IconID = ID_EDIT_UNDO, then the image is empry on the ID_FILE_NEW button and menu</DIV><DIV>&nbsp;</DIV><DIV>When I attempt to use Actions with IconID in my program I get the error message:</DIV><DIV>&nbsp;</DIV><DIV>"Object does not support this property or method"</DIV><DIV>&nbsp;</DIV><DIV>But I can use Actions to change the other properties such as Tag or Enabled.</DIV><DIV>&nbsp;</DIV><DIV>CommandBars.Actions.Add ID_CalcZone_Dropdown, "Calculation Zone", "Insert a Calculation Zone", "", "Calculation Zone"</DIV><DIV>&nbsp;</DIV><DIV>'add Control in another function</DIV><DIV>&nbsp;</DIV><DIV>CommandBars.Actions(ID_CalcZone_Dropdown).Enabled = False (this works)</DIV><DIV>&nbsp;</DIV><DIV><DIV>CommandBars.Actions(ID_CalcZone_Dropdown).IconID = ID_CalcZone_Rectangle (this creates the error message)</DIV></DIV>]]>
   </description>
   <pubDate>Sat, 11 Apr 2009 17:17:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13970&amp;PID=47793&amp;title=map-a-control-id-to-certain-icon-id#47793</guid>
  </item> 
  <item>
   <title><![CDATA[Map a control ID to certain icon ID? : Hi, You can enable Actions and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13970&amp;PID=47758&amp;title=map-a-control-id-to-certain-icon-id#47758</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13970<br /><strong>Posted:</strong> 10 April 2009 at 6:34am<br /><br />Hi,<DIV>You can enable Actions and assign iconId to corresponded action. </DIV><DIV>See Actions sample.</DIV>]]>
   </description>
   <pubDate>Fri, 10 Apr 2009 06:34:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13970&amp;PID=47758&amp;title=map-a-control-id-to-certain-icon-id#47758</guid>
  </item> 
  <item>
   <title><![CDATA[Map a control ID to certain icon ID? : Is it possible to map a certain...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13970&amp;PID=47753&amp;title=map-a-control-id-to-certain-icon-id#47753</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13970<br /><strong>Posted:</strong> 10 April 2009 at 4:37am<br /><br />Is it possible to map a certain control ID to a certain icon ID, so that it gets this icon whereever possible? I know I can call SetIconId(), but that is not always possible (e.g. you show a CMenu through XTResourceManager()).<DIV>&nbsp;</DIV><DIV>Something like this:</DIV><DIV>SetIcons(controlID_list, iconID_list);</DIV><DIV>&nbsp;</DIV><DIV>Is this possible?</DIV>]]>
   </description>
   <pubDate>Fri, 10 Apr 2009 04:37:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13970&amp;PID=47753&amp;title=map-a-control-id-to-certain-icon-id#47753</guid>
  </item> 
 </channel>
</rss>