<?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 : Menus with big ic&#111;ns</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Menus with big ic&#111;ns]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 13:29:45 +0000</pubDate>
  <lastBuildDate>Tue, 04 Apr 2006 09:29:35 +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=3851</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[Menus with big ic&#111;ns : Yes. menus first tring to find...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11952&amp;title=menus-with-big-icons#11952</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 04 April 2006 at 9:29am<br /><br /><P>Yes. menus first tring to find best bitmap in ImageManager if not found when it will resize exists.</P>]]>
   </description>
   <pubDate>Tue, 04 Apr 2006 09:29:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11952&amp;title=menus-with-big-icons#11952</guid>
  </item> 
  <item>
   <title><![CDATA[Menus with big ic&#111;ns : So if I have a toolbar that is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11947&amp;title=menus-with-big-icons#11947</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1677">davidsimmonds</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 04 April 2006 at 9:15am<br /><br />So if I have a toolbar that is 16x16 already that the framework is using, I can simply use another bitmap that is 28x16 and make the call like you suggest above and the menus will take the icons from there and not from the toolbar and the toolbar will still look as it should?]]>
   </description>
   <pubDate>Tue, 04 Apr 2006 09:15:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11947&amp;title=menus-with-big-icons#11947</guid>
  </item> 
  <item>
   <title><![CDATA[Menus with big ic&#111;ns : You don&amp;#039;t need to make toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11946&amp;title=menus-with-big-icons#11946</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 04 April 2006 at 9:11am<br /><br /><P>You don't need to make toolbar 28*16, you need to create another icon set for 28*16 icons. create some bitmap for icons and call</P><P>pImageManager-&gt;SetIcons(IDR_TOOLABAR, IDR_BITMAP);</P>]]>
   </description>
   <pubDate>Tue, 04 Apr 2006 09:11:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11946&amp;title=menus-with-big-icons#11946</guid>
  </item> 
  <item>
   <title><![CDATA[Menus with big ic&#111;ns : It is bad design then. If you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11934&amp;title=menus-with-big-icons#11934</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1677">davidsimmonds</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 03 April 2006 at 3:55pm<br /><br />It is bad design then. If you make a toolbar 28x16, it will look wierd. Like I said, other menu systems allow for this. Can the Xtreme Toolkit not be modified to do so as well?]]>
   </description>
   <pubDate>Mon, 03 Apr 2006 15:55:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11934&amp;title=menus-with-big-icons#11934</guid>
  </item> 
  <item>
   <title><![CDATA[Menus with big ic&#111;ns : It is designed behaviour.  You...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11933&amp;title=menus-with-big-icons#11933</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 03 April 2006 at 3:50pm<br /><br /><P>It is designed behaviour. </P><P>You must create 28*16&nbsp;image for each icon you plan to use in Popup.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 03 Apr 2006 15:50:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11933&amp;title=menus-with-big-icons#11933</guid>
  </item> 
  <item>
   <title><![CDATA[Menus with big ic&#111;ns : Also, I have this in my OnCreate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11930&amp;title=menus-with-big-icons#11930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1677">davidsimmonds</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 03 April 2006 at 3:05pm<br /><br /><P>Also, I have this in my OnCreate method:</P><FONT size=2><P></FONT><FONT color=#008000 size=2>// Initialize the command bars</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (!InitCommandBars())</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> -1;</P><P></FONT><FONT color=#008000 size=2>// Get a pointer to the command bars object.</P></FONT><FONT size=2><P>CXTPCommandBars* pCommandBars = GetCommandBars();</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pCommandBars == NULL)</P><P>{</P><P>TRACE0(</FONT><FONT color=#800000 size=2>"Failed to create command bars object.\n"</FONT><FONT size=2>);</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> -1; </FONT><FONT color=#008000 size=2>// fail to create</P></FONT><FONT size=2><P>}</P><P>pCommandBars-&gt;GetCommandBarsOptions()-&gt;szPopupIcons = CSize(28, 16);</P><P></FONT><FONT color=#008000 size=2>// Add the menu bar</P></FONT><FONT size=2><P>CXTPCommandBar* pMenuBar = pCommandBars-&gt;SetMenu(</P><P>_T(</FONT><FONT color=#800000 size=2>"Menu Bar"</FONT><FONT size=2>), IDR_MAINFRAME);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pMenuBar == NULL)</P><P>{</P><P>TRACE0(</FONT><FONT color=#800000 size=2>"Failed to create menu bar.\n"</FONT><FONT size=2>);</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> -1; </FONT><FONT color=#008000 size=2>// fail to create</P></FONT><FONT size=2><P>}</P></FONT>]]>
   </description>
   <pubDate>Mon, 03 Apr 2006 15:05:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11930&amp;title=menus-with-big-icons#11930</guid>
  </item> 
  <item>
   <title><![CDATA[Menus with big ic&#111;ns : Yes, I found that bug also, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11929&amp;title=menus-with-big-icons#11929</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1677">davidsimmonds</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 03 April 2006 at 3:03pm<br /><br />Yes, I found that bug also, but it does not fix the problem. I want to have the toolbar left at 16x16. I have some custom bitmaps that are 28x16. I want the bitmaps that come from the toolbar and placed automatically by the Xtreme Toolkit framework to look correct AND I want my 28x16 bitmaps to look correct. Right now, the 28x16 look correct, but the 16x16 bitmaps are stretched. Other menu frameworks allow this to work. The Xtreme toolkit must be able to do it as well.]]>
   </description>
   <pubDate>Mon, 03 Apr 2006 15:03:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11929&amp;title=menus-with-big-icons#11929</guid>
  </item> 
  <item>
   <title><![CDATA[Menus with big ic&#111;ns : Hello, just tried codeyou attached...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11928&amp;title=menus-with-big-icons#11928</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 03 April 2006 at 2:58pm<br /><br /><P>Hello, just tried code&nbsp;you attached and see problem.</P><P>Steps to fix:</P><P>add</P><FONT size=2><P>pCommandBars-&gt;GetCommandBarsOptions()-&gt;szPopupIcons = CSize(28, 16);</P></FONT><P>replace in your code</P><P>iml.Create(bm.bmHeight, bm.bmHeight, ILC_MASK, 0, 0);</P><P>to</P><P>iml.Create(bm.<strong>bmWidth</strong>, bm.bmHeight, ILC_MASK, 0, 0);</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 03 Apr 2006 14:58:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11928&amp;title=menus-with-big-icons#11928</guid>
  </item> 
  <item>
   <title><![CDATA[Menus with big ic&#111;ns : No answer to the question? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11901&amp;title=menus-with-big-icons#11901</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1677">davidsimmonds</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 03 April 2006 at 10:12am<br /><br />No answer to the question?]]>
   </description>
   <pubDate>Mon, 03 Apr 2006 10:12:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11901&amp;title=menus-with-big-icons#11901</guid>
  </item> 
  <item>
   <title><![CDATA[Menus with big ic&#111;ns : Leave the icons in the toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11732&amp;title=menus-with-big-icons#11732</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1677">davidsimmonds</a><br /><strong>Subject:</strong> 3851<br /><strong>Posted:</strong> 25 March 2006 at 8:25am<br /><br />Leave the icons in the toolbar as they were (16x16 I think).&nbsp; Then create a bitmap that is 28x16. Create a new menu item somewhere that does not have a toolbar item. Assign the 28x16 bitmap to that new menu item. What do you see? Is the icon properly sized or is it clipped or sized very small?]]>
   </description>
   <pubDate>Sat, 25 Mar 2006 08:25:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3851&amp;PID=11732&amp;title=menus-with-big-icons#11732</guid>
  </item> 
 </channel>
</rss>