<?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 : Toolbar icons do not appear!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Toolbar icons do not appear!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:46:26 +0000</pubDate>
  <lastBuildDate>Thu, 17 Jan 2008 03:34:48 +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=9326</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[Toolbar icons do not appear! : It turned out that IDR_TOOL had...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9326&amp;PID=30212&amp;title=toolbar-icons-do-not-appear#30212</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9326<br /><strong>Posted:</strong> 17 January 2008 at 3:34am<br /><br /><P>It turned out that IDR_TOOL had a bitmap resource with no icons. Still, I think this is weird:</P><DIV>IDR_TOOL points to "tool.bmp" (contains a gray bitmap)</DIV><DIV>IDB_TOOL points to "tool_hicolor.bmp" (contains the icons)</DIV><DIV>&nbsp;</DIV><DIV>LoadToolBar(IDR_TOOL)</DIV><DIV>SetIcons(IDR_TOOL, IDB_TOOL) // This does not overwrite the previous icons!</DIV><DIV>&nbsp;</DIV><DIV>I solved it by remapping IDR_TOOL to "tool_hicolor.bmp" and removing the call to SetIcons. Why did I have to do that?</DIV>]]>
   </description>
   <pubDate>Thu, 17 Jan 2008 03:34:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9326&amp;PID=30212&amp;title=toolbar-icons-do-not-appear#30212</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar icons do not appear! : Hi,  What do you have in resources...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9326&amp;PID=30193&amp;title=toolbar-icons-do-not-appear#30193</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9326<br /><strong>Posted:</strong> 16 January 2008 at 11:11am<br /><br />Hi, <DIV>What do you have in resources for IDR_TOOL and IDB_TOOL&nbsp;? Check How many icons you have in IDR_TOOL&nbsp; and what size of IDB_TOOL&nbsp;bitmap.</DIV>]]>
   </description>
   <pubDate>Wed, 16 Jan 2008 11:11:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9326&amp;PID=30193&amp;title=toolbar-icons-do-not-appear#30193</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar icons do not appear! : In my CMainFrame-window I have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9326&amp;PID=30183&amp;title=toolbar-icons-do-not-appear#30183</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9326<br /><strong>Posted:</strong> 16 January 2008 at 9:50am<br /><br /><P>In my CMainFrame-window I have multiple toolbars. They look OK.</P><DIV>Note that in this project CFrameWnd-windows are used frequently, but without associated document templates (and frames).</DIV><DIV>&nbsp;</DIV><DIV>I have a CXTPFrameWnd-derived window, CMyFrame, as a member in one of the views (don't blame me ;). These calls are done in CMyFrame::OnCreate():</DIV><DIV>&nbsp;</DIV><DIV>InitCommandBars();</DIV><DIV>CXTPToolBar *pToolbar =&nbsp;(CXTPToolBar*)GetCommandBars()-&gt;Add("My tool", xtpBarTop);</DIV><DIV>pToolBar-&gt;LoadToolBar(IDR_TOOL);</DIV><DIV>XTPImageManager()-&gt;SetIcons(IDR_TOOL, IDB_TOOL;</DIV><DIV>&nbsp;</DIV><DIV><strong>The problem</strong> is that the <strong>icons </strong>from IDB_TOOL <strong>are not shown</strong>! What could be the reason for this? Please help me out on this one.</DIV>]]>
   </description>
   <pubDate>Wed, 16 Jan 2008 09:50:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9326&amp;PID=30183&amp;title=toolbar-icons-do-not-appear#30183</guid>
  </item> 
 </channel>
</rss>