<?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 : Customize menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Customize menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 10:01:01 +0000</pubDate>
  <lastBuildDate>Sun, 24 Dec 2006 10:01:51 +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=5904</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[Customize menu : Hi, I&amp;#039;m trying to build...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5904&amp;PID=18592&amp;title=customize-menu#18592</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1829">snir</a><br /><strong>Subject:</strong> 5904<br /><strong>Posted:</strong> 24 December 2006 at 10:01am<br /><br />Hi,<DIV>I'm trying to build a Customize menu. I have my command bar file: <FONT color=#000000 size=2>MainFrameToolbar.xcb<DIV>And i'v looked at the sample code:</DIV><DIV><FONT color=#0000ff size=2>void</FONT><FONT size=2> CMainFrame::OnCustomize()</FONT></DIV><DIV><FONT size=2>{</FONT></DIV><DIV><FONT size=2>CXTPCustomizeSheet cs(GetCommandBars());</FONT></DIV><DIV><FONT size=2>CXTPCustomizeCommandsPage* pCommands = cs.GetCommandsPage();</FONT></DIV><DIV><FONT size=2>pCommands-&gt;AddCategories(IDR_CUSTOMTYPE);</FONT></DIV><DIV><FONT size=2>pCommands-&gt;InsertAllCommandsCategory();</FONT></DIV><DIV><FONT size=2>cs.DoModal();</FONT></DIV><DIV><FONT size=2>}</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>But in Add categories:</FONT></DIV><DIV><FONT size=2><FONT color=#008000 size=2>nIDResource - Menu resource from where categories will be built.</FONT></FONT></DIV><DIV><FONT size=2><FONT color=#000000>From where do i get nIDResource?? (IDR_CUSTOMTYPE in sample)</FONT></FONT></DIV><DIV>I tryed my project IDR_CUSTOMTYPE but AddCategories() returns false.</DIV><DIV><DIV>For now i can get the customize menu but no Commands in the list.</DIV></DIV><DIV>Thank's</DIV><DIV>&nbsp;</DIV><DIV><FONT size=2>&nbsp;</DIV></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Sun, 24 Dec 2006 10:01:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5904&amp;PID=18592&amp;title=customize-menu#18592</guid>
  </item> 
 </channel>
</rss>