<?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 : Toolbars on a pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Toolbars on a pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 11:58:04 +0000</pubDate>
  <lastBuildDate>Wed, 22 Sep 2010 20:29: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=17300</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[Toolbars on a pane : I have a toolbar on a pane, and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17300&amp;PID=60423&amp;title=toolbars-on-a-pane#60423</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=374">ddlittle</a><br /><strong>Subject:</strong> 17300<br /><strong>Posted:</strong> 22 September 2010 at 8:29pm<br /><br /><FONT size=2 face="Arial, Helvetica, sans-serif">I have a toolbar on a pane, and i have all the icons in a separate DLL.&nbsp; I load all the icons and set the toolbars using :</FONT><DIV>&nbsp;</DIV><FONT size=2><P></FONT><FONT size=1><FONT color=#0033ff><FONT face="Courier New, Courier, mono">CXTPImageManagerIconHandle hIcon</FONT><FONT face="Courier New, Courier, mono">;</FONT></FONT></FONT></P><P><FONT size=1><FONT color=#0033ff><FONT face="Courier New, Courier, mono">hIcon.CreateIconFromResource(iconInst,MAKEINTRESOURCE(iconIds&#091;x&#093;.icon),sz32, TRUE</FONT><FONT face="Courier New, Courier, mono">);</FONT></FONT></FONT></P><P><FONT size=1><FONT color=#0033ff><FONT face="Courier New, Courier, mono">XTPImageManager()-&gt;SetIcon(hIcon,iconIds&#091;x&#093;.cmd</FONT><FONT face="Courier New, Courier, mono">);</FONT></FONT></FONT></P><P><FONT size=1><FONT color=#0033ff><FONT face="Courier New, Courier, mono">hIcon.CreateIconFromResource(iconInst,MAKEINTRESOURCE(iconIds&#091;x&#093;.icon),sz16, TRUE</FONT><FONT face="Courier New, Courier, mono">);</FONT></FONT></FONT></P><P><FONT face="Courier New, Courier, mono"><FONT size=1><FONT color=#0033ff>XTPImageManager()-&gt;SetIcon(hIcon,iconIds&#091;x&#093;.cmd);</FONT></P><DIV></DIV><P></FONT><FONT size=2 face="Arial, Helvetica, sans-serif">I get my custom icons on every toolbar, but the toolbars inside panes don't use the custom icons unless I also set the button style in OnCreateControl to </FONT><FONT color=#020002><FONT color=#020002><FONT size=2 face="Arial, Helvetica, sans-serif">xtpButtonIconAndCaptionBelow, and using that style seems to force the buttons to 32x32.&nbsp; The text really isn't necessary, but if I use xtpButtonIcon as the style, I get 16x16, but with the default button tops.&nbsp; Any ideas how to fix this up?</FONT></P><DIV><FONT size=2 face="Arial, Helvetica, sans-serif"></FONT></DIV><DIV><FONT size=2 face="Arial, Helvetica, sans-serif">Thanks!</FONT></DIV><DIV><FONT size=2 face="Arial, Helvetica, sans-serif">- David</FONT></FONT></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 22 Sep 2010 20:29:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17300&amp;PID=60423&amp;title=toolbars-on-a-pane#60423</guid>
  </item> 
 </channel>
</rss>