<?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 : Remove menu .</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Remove menu .]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 11:40:09 +0000</pubDate>
  <lastBuildDate>Mon, 19 Apr 2004 10:47:55 +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=632</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[Remove menu . : CXTPControl* pCommandNew =  G...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=632&amp;PID=1665&amp;title=remove-menu#1665</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 632<br /><strong>Posted:</strong> 19 April 2004 at 10:47am<br /><br /><P>&nbsp;CXTPControl* pCommandNew =</P><P> GetCommandBars()-&gt;GetMenuBar()-&gt;GetControls-&gt;FindCo ntrol(xtpControlButton, ID_DELITEM, TRUE,TRUE);</P><P><BR>if (pCommandNew)<BR>{<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCommandNew-&gt;GetControls()-&gt;Remove(pCommandNew);<BR>}</P>]]>
   </description>
   <pubDate>Mon, 19 Apr 2004 10:47:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=632&amp;PID=1665&amp;title=remove-menu#1665</guid>
  </item> 
  <item>
   <title><![CDATA[Remove menu . : Hi I am using the following code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=632&amp;PID=1660&amp;title=remove-menu#1660</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=348">Asha Udupa</a><br /><strong>Subject:</strong> 632<br /><strong>Posted:</strong> 19 April 2004 at 6:10am<br /><br /><P>Hi</P><P>I am using the following code to remove a menu item.</P><P>&nbsp;CXTPControls* pControlView&nbsp; =  (CXTPControls*)(GetCommandBars()-&gt;GetMenuBar())-&gt;GetCo ntrols();<BR>&nbsp;&nbsp;CXTPControl* pCommandNew = pControlView-&gt;FindControl(xtpControlButton, ID_DELITEM, TRUE,TRUE);<BR>&nbsp;&nbsp;if (pCommandNew)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;pControlView-&gt;Remove(pCommandNew);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</P><P>After this if I try to open the same menu&nbsp;application crashes.</P><P>Could any one please tell is this the right wa of deleting a menu item?</P><P>Regards</P><P>Asha</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 19 Apr 2004 06:10:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=632&amp;PID=1660&amp;title=remove-menu#1660</guid>
  </item> 
 </channel>
</rss>