<?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 : Two image problems with CommandBars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Two image problems with CommandBars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 02:00:21 +0000</pubDate>
  <lastBuildDate>Fri, 23 Nov 2007 01:47:39 +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=8854</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[Two image problems with CommandBars : 1. You must first add button with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8854&amp;PID=28754&amp;title=two-image-problems-with-commandbars#28754</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8854<br /><strong>Posted:</strong> 23 November 2007 at 1:47am<br /><br />1. You must first add button with some id, and select this id in import dialog.<DIV>&nbsp;</DIV><DIV>2, call CommandBars.Option.SetIconsIze</DIV>]]>
   </description>
   <pubDate>Fri, 23 Nov 2007 01:47:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8854&amp;PID=28754&amp;title=two-image-problems-with-commandbars#28754</guid>
  </item> 
  <item>
   <title><![CDATA[Two image problems with CommandBars : I have two problems with specifying...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8854&amp;PID=28721&amp;title=two-image-problems-with-commandbars#28721</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3501">d_r_smith</a><br /><strong>Subject:</strong> 8854<br /><strong>Posted:</strong> 21 November 2007 at 6:17pm<br /><br /><br>&nbsp;I have two problems with specifying the icons for my toolbar buttons: <br><br>1.&nbsp; I cannot get the ImageManager's design-time button editor (the tool to draw icons and load them from BMP) to import a bitmap. <br>At design time, I bring up the Properties dialog, <br>I select the ID in the Icons list at the left, <br>I select the "Normal" icon in the list at the right, <br>then I choose Import and Export &gt; Import from Bitmap. <br>In the Open dialog I choose my BMP file. <br>The bitmap&nbsp; (16 x 16) shows up in an Import dialog, and the preview looks correct.&nbsp; So from that dialog I click the Import button. <br><br>And then......&nbsp; nothing happens. The image was not actually imported.&nbsp; Back on the Properties dialog, I still see the default red circle-with-bar. <br>There is no error message; the import just didn't change anything.&nbsp; <br><br>Is this a known problem?&nbsp; Is there a known fix?&nbsp; &nbsp;<br><br><br>2.&nbsp; Through code I'm able to load bitmaps that I can use as button icons.&nbsp; But, if I choose a size other than 16 x 16, then at runtime the image is squished (to fit in a 16 x 16 box, I'm guessing), and because of the squishing, the icon looks terrible.&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; I need to be able to support 18 x 16 icons,&nbsp; for backwards compatibility reasons, and I can't edit the icons myself as some are in third-party libraries that I don't even have access to; so, I need to be able to load 18 x 16 icons. <br>&nbsp;&nbsp;&nbsp;&nbsp; Does the product support that?&nbsp; Is there some property I can set to tell the CommandBars to use an image size other than 16 x 16 ?&nbsp; <br><br><br>]]>
   </description>
   <pubDate>Wed, 21 Nov 2007 18:17:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8854&amp;PID=28721&amp;title=two-image-problems-with-commandbars#28721</guid>
  </item> 
 </channel>
</rss>