<?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 : Removing sub-menus</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Removing sub-menus]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 09:33:28 +0000</pubDate>
  <lastBuildDate>Thu, 22 Jul 2004 01:05: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=904</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[Removing sub-menus : You may try this perhaps // This...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=904&amp;PID=2552&amp;title=removing-submenus#2552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=286">softz</a><br /><strong>Subject:</strong> 904<br /><strong>Posted:</strong> 22 July 2004 at 1:05am<br /><br /><P>You may try this perhaps</P><FONT color=#0000ff size=2><FONT size=2><P><FONT color=#0000ff><FONT color=#006600>// This is where your menu loaded</FONT><BR>CXTMenu menu;<BR></FONT></FONT></FONT><FONT size=2><FONT color=#0000ff>menu.LoadMenu(IDR_MENU);</FONT></FONT></P><P><FONT size=2><FONT color=#0000ff><FONT size=2><FONT size=2><FONT color=#006600>// Go to the&nbsp;next level of submenu</FONT><BR>CXTMenu* pSubMenu = menu.GetSubMenu(0);<BR>for(UINT i = 0; i &lt; <FONT size=2>pSubMenu-&gt;GetMenuItemCount(); i++)<BR>{</FONT></FONT></FONT></FONT></FONT><FONT size=2><FONT color=#0000ff><FONT size=2><FONT size=2><BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp; pSubMenu-&gt;<FONT size=2>RemoveMenu(i, MF_BYPOSITION);<BR>}</FONT></FONT></FONT></FONT></P><P>Regards. <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P>]]>
   </description>
   <pubDate>Thu, 22 Jul 2004 01:05:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=904&amp;PID=2552&amp;title=removing-submenus#2552</guid>
  </item> 
  <item>
   <title><![CDATA[Removing sub-menus : Hi, Does anybody know how to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=904&amp;PID=2401&amp;title=removing-submenus#2401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=14">Graham</a><br /><strong>Subject:</strong> 904<br /><strong>Posted:</strong> 01 July 2004 at 5:04am<br /><br /><P>Hi,</P><P>Does anybody know how to dynamically remove entire sub-menus. I can remove the sub menu items OK, but the parent pop-up menu remains.</P><P>Thanks,</P><P>Graham</P>]]>
   </description>
   <pubDate>Thu, 01 Jul 2004 05:04:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=904&amp;PID=2401&amp;title=removing-submenus#2401</guid>
  </item> 
 </channel>
</rss>