<?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 : Get a C&#111;ntrol Ic&#111;n</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Get a C&#111;ntrol Ic&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 14:30:03 +0000</pubDate>
  <lastBuildDate>Mon, 28 Feb 2005 04:35:07 +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=1862</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[Get a C&#111;ntrol Ic&#111;n :   SuperMario wrote:No, you can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5436&amp;title=get-a-control-icon#5436</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1015">maxy</a><br /><strong>Subject:</strong> 1862<br /><strong>Posted:</strong> 28 February 2005 at 4:35am<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by SuperMario" alt="Originally posted by SuperMario" style="vertical-align: text-bottom;" /> <strong>SuperMario wrote:</strong><br /><br />No, you can't get an individual icon from the ImageManager.&nbsp; But you can use the icons from the CommandBars in the DockingPanes.<BR><BR>Try:<BR><BR>DockingPaneManager.Icons.AddIcons CommandBars.Icons<BR><BR>Or<BR><BR>DockingPaneManager.Icons = CommandBars.Icons<BR><BR>But the icons will have the same IconId as when they were added to the CommandBars ImagManager so you will have to set the IconId for each Docking Pane to match the IconIds in the ImageManager.<BR></td></tr></table> </P><P><A href="mailto:brisbane_chap@yahoo.com" target="_blank">brisbane_chap@yahoo.com</A></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 28 Feb 2005 04:35:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5436&amp;title=get-a-control-icon#5436</guid>
  </item> 
  <item>
   <title><![CDATA[Get a C&#111;ntrol Ic&#111;n :  brisbane_chap@yahoo.com ifound...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5435&amp;title=get-a-control-icon#5435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1015">maxy</a><br /><strong>Subject:</strong> 1862<br /><strong>Posted:</strong> 28 February 2005 at 4:33am<br /><br /><P>&nbsp;</P><P><A href="mailto:brisbane_chap@yahoo.com" target="_blank">brisbane_chap@yahoo.com</A></P><P>ifound out more about icons</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 28 Feb 2005 04:33:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5435&amp;title=get-a-control-icon#5435</guid>
  </item> 
  <item>
   <title><![CDATA[Get a C&#111;ntrol Ic&#111;n : I haven&amp;#039;t used ATL, but it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5411&amp;title=get-a-control-icon#5411</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1862<br /><strong>Posted:</strong> 25 February 2005 at 3:05pm<br /><br />I haven't used ATL, but it looks like you need to do some type casting.<br><br>For example, this code is from C# copying the icons from a CommandBarsImageManager Control to the Icons collection of the Shortcut bar.&nbsp;ImageManager is a the Separate ImageManager control in thisexample.&nbsp; However you can use the CommandBars.Icons collection aswell.<br>&nbsp;<br>wndShortcutBar.Icons = (XtremeSuiteControls.ImageManagerIcons)ImageManager.Icons;<br>]]>
   </description>
   <pubDate>Fri, 25 Feb 2005 15:05:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5411&amp;title=get-a-control-icon#5411</guid>
  </item> 
  <item>
   <title><![CDATA[Get a C&#111;ntrol Ic&#111;n : I expect it&amp;#039;s just my limited...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5410&amp;title=get-a-control-icon#5410</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1862<br /><strong>Posted:</strong> 25 February 2005 at 2:48pm<br /><br /><P>I expect it's just my limited knowledge of ATL but how do you copy the command bars icons to the docking panes using ATL?</P><P>I've tried:</P><P>&nbsp;m_spDockingPanes-&gt;Icons = spCommandBars-&gt;Icons;<BR>and</P><P>m_spDockingPanes-&gt;Icons-&gt;AddIcons( spCommandBars-&gt;Icons );</P><P>But they both give me this error:</P><P>error C2664: 'AddIcons' : cannot convert parameter 1 from 'class _com_ptr_t&lt;class _com_IIID&lt;struct XtremeCommandBars::IImageManagerIcons,&amp;struct __s_GUID _GUID_00020400_0000_0000_c000_0000<BR>00000046&gt; &gt;' to 'struct XtremeDockingPane::IImageManagerIcons *'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called</P>]]>
   </description>
   <pubDate>Fri, 25 Feb 2005 14:48:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5410&amp;title=get-a-control-icon#5410</guid>
  </item> 
  <item>
   <title><![CDATA[Get a C&#111;ntrol Ic&#111;n : No, you can&amp;#039;t get an individual...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5409&amp;title=get-a-control-icon#5409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1862<br /><strong>Posted:</strong> 25 February 2005 at 2:33pm<br /><br />No, you can't get an individual icon from the ImageManager.&nbsp; Butyou can use the icons from the CommandBars in the DockingPanes.<br><br>Try:<br><br>DockingPaneManager.Icons.AddIcons CommandBars.Icons<br><br>Or<br><br>DockingPaneManager.Icons = CommandBars.Icons<br><br>But the icons will have the same IconId as when they were added to theCommandBars ImagManager so you will have to set the IconId for eachDocking Pane to match the IconIds in the ImageManager.<br>]]>
   </description>
   <pubDate>Fri, 25 Feb 2005 14:33:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5409&amp;title=get-a-control-icon#5409</guid>
  </item> 
  <item>
   <title><![CDATA[Get a C&#111;ntrol Ic&#111;n : Hi, Can anyone suggest a way...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5408&amp;title=get-a-control-icon#5408</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=972">Marek</a><br /><strong>Subject:</strong> 1862<br /><strong>Posted:</strong> 25 February 2005 at 2:22pm<br /><br /><P>Hi,</P><P>Can anyone suggest a way to get an individual icon from a command bar control? ie Get an icon with a certain ID from the ImageManager??? Seems that you can Count, DrawReverted, Add, Load and RemoveAll but you can't just get one of them.</P><P>Or, is there a way to get the collection of icons from the CommandBars and assign that same collection to the Docking Pane Control's Icons property? Seems the Command Bar collection is not compatible with the Docking Pane collection.</P><P>Thanks,</P><P>-m</P>]]>
   </description>
   <pubDate>Fri, 25 Feb 2005 14:22:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1862&amp;PID=5408&amp;title=get-a-control-icon#5408</guid>
  </item> 
 </channel>
</rss>