<?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 : Different bitmaps for menus and toolbar?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Different bitmaps for menus and toolbar?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 19:34:57 +0000</pubDate>
  <lastBuildDate>Tue, 06 Nov 2007 04:32:52 +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=8666</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[Different bitmaps for menus and toolbar? : :) ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8666&amp;PID=28141&amp;title=different-bitmaps-for-menus-and-toolbar#28141</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8666<br /><strong>Posted:</strong> 06 November 2007 at 4:32am<br /><br /><DIV>:)</DIV>]]>
   </description>
   <pubDate>Tue, 06 Nov 2007 04:32:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8666&amp;PID=28141&amp;title=different-bitmaps-for-menus-and-toolbar#28141</guid>
  </item> 
  <item>
   <title><![CDATA[Different bitmaps for menus and toolbar? : Great! Problem solved.  For...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8666&amp;PID=28138&amp;title=different-bitmaps-for-menus-and-toolbar#28138</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3452">swautier</a><br /><strong>Subject:</strong> 8666<br /><strong>Posted:</strong> 06 November 2007 at 4:26am<br /><br />Great! Problem solved.<DIV>&nbsp;</DIV><DIV>For the archive: People, please make sure that your toolbar image lists contain the same amount of images than defined buttons. I just spent one hour scratching my head wondering why the buttons were incorrectly drawn/resized in the menu items.</DIV><DIV>&nbsp;</DIV><DIV>It appears that my image list had 5 unused images at the end. It never was a problem so far (old XT version)&nbsp;but XTP 11.20 seems to support non rectangular imagees and guesses button size based on the amount of buttons defined in the toolbar.</DIV><DIV>&nbsp;</DIV><DIV>Maybe it was only very bad luck for me since I had 21 images and 16 buttons. Bad luck since buttons are 16x16. So XTP figured I had 16 buttons sized 21x16 instead of 21 16x16 images :-(</DIV><DIV>&nbsp;</DIV><DIV>Also, XTP11 makes a great job at computing grayed images. Actually, I discovered that the result is better than the separate gray images I was using so far.</DIV>]]>
   </description>
   <pubDate>Tue, 06 Nov 2007 04:26:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8666&amp;PID=28138&amp;title=different-bitmaps-for-menus-and-toolbar#28138</guid>
  </item> 
  <item>
   <title><![CDATA[Different bitmaps for menus and toolbar? : Just same.   XTPImageManage...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8666&amp;PID=28100&amp;title=different-bitmaps-for-menus-and-toolbar#28100</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8666<br /><strong>Posted:</strong> 05 November 2007 at 1:27pm<br /><br />Just same.<DIV>&nbsp;</DIV><DIV><DIV><FONT size=2>XTPImageManager()-&gt;SetIcons(IDR_MAINFRAME, IDR_TOOLBAR_SMALL, xtpImageNormal);</FONT></DIV><BR><DIV><FONT size=2>XTPImageManager()-&gt;SetIcons(IDR_MAINFRAME, IDB_TOOLBAR_SMALL_GRAY, xtpImageDisabled);</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Where IDR_TOOLBAR_SMALL is resource for bitmap, IDR_MAINFRAME is resource for toolbar with buttons.</FONT></DIV></DIV>]]>
   </description>
   <pubDate>Mon, 05 Nov 2007 13:27:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8666&amp;PID=28100&amp;title=different-bitmaps-for-menus-and-toolbar#28100</guid>
  </item> 
  <item>
   <title><![CDATA[Different bitmaps for menus and toolbar? : Env.: XTP 11.20 VS2003  Hi, I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8666&amp;PID=28090&amp;title=different-bitmaps-for-menus-and-toolbar#28090</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3452">swautier</a><br /><strong>Subject:</strong> 8666<br /><strong>Posted:</strong> 05 November 2007 at 10:19am<br /><br /><DIV>Env.: XTP 11.20 VS2003</DIV><DIV>&nbsp;</DIV><DIV>Hi,</DIV><DIV>I have a toolbar with big images (24x24). It works fine, including loading the separate image list for disabled buttons.</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2><table width="99%"><tr><td><pre class="BBcode"><FONT size=2>m_pToolBar = (CXTPToolBar*)pCommandBars-&gt;Add(_T(</FONT><FONT color=#ff0000 size=2>"Toolbar"</FONT><FONT size=2>), xtpBarTop);</FONT></FONT></DIV><DIV><FONT size=2><FONT size=2>m_pToolBar-&gt;LoadToolBar(IDR_TOOLBAR);</FONT></FONT></DIV><DIV><FONT size=2>XTPImageManager()-&gt;SetIcons(IDR_MAINFRAME, IDR_TOOLBAR, xtpImageNormal);</FONT></DIV><DIV><FONT size=2>XTPImageManager()-&gt;SetIcons(IDR_MAINFRAME, IDB_TOOLBAR_BIG_GRAY, xtpImageDisabled);</FONT><FONT size=2></pre></td></tr></table></FONT></DIV><DIV>How do I specify a different image list/bitmap for the small images displayed in the menus (for the corresponding items)? (and one for small disabled images).</DIV><DIV>&nbsp;</DIV><DIV>TIA,</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 05 Nov 2007 10:19:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8666&amp;PID=28090&amp;title=different-bitmaps-for-menus-and-toolbar#28090</guid>
  </item> 
 </channel>
</rss>