<?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 : GetMenu won&#039;t work</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : GetMenu won&#039;t work]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 20:21:32 +0000</pubDate>
  <lastBuildDate>Tue, 27 Dec 2011 11:52:37 +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=19229</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[GetMenu won&#039;t work : Wow, no one answers. Are are there...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19229&amp;PID=67287&amp;title=getmenu-wont-work#67287</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1550">dehilster</a><br /><strong>Subject:</strong> 19229<br /><strong>Posted:</strong> 27 December 2011 at 11:52am<br /><br />Wow, no one answers. &nbsp;Are are there any CodeJock techs here to answer questions?]]>
   </description>
   <pubDate>Tue, 27 Dec 2011 11:52:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19229&amp;PID=67287&amp;title=getmenu-wont-work#67287</guid>
  </item> 
  <item>
   <title><![CDATA[GetMenu won&#039;t work : I have added a dummy menu item...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19229&amp;PID=66927&amp;title=getmenu-wont-work#66927</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1550">dehilster</a><br /><strong>Subject:</strong> 19229<br /><strong>Posted:</strong> 27 November 2011 at 12:08pm<br /><br />I have added a dummy menu item to implement a recent analyzers submenu. &nbsp;I use the recent files which is automatic and that is kewl.<div><br></div><div>I need to implement a similar submenu but with our own recent list.</div><div><br></div><div>I have done the following:</div><div><br></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>ON_UPDATE_COMMAND_UI(ID_FILE_RECENTANALYZERS, OnUpdateFileRecentanalyzers)</div></div><div><br></div><div>Where ID_FILE_RECENTANALYZERS is an id in a submenu I want to modify. &nbsp;I have the modification code but the problem is, I can't get the menu with GetMenu so that it modifies the actual menu.</div><div><br></div><div>Here is the other code:</div><div><div><br></div><div>void CMainFrame::OnUpdateFileRecentanalyzers(CCmdUI *pCmdUI)</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>CMenu *menu = GetMenu();</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// menu is null here</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>RecentAnalyzerMenu();</div><div>}</div></div><div><br></div><div>I am using&nbsp;CXTPMDIFrameWnd instead of CMDIFrameWnd. &nbsp;When I create a separate test project in Visual Studio 2008 with&nbsp;CMDIFrameWnd, GetMenu returns the menu.</div><div><br></div><div>How do I get the hand to the actual menu if GetMenu is return null with code jocks code?</div><div><br></div>]]>
   </description>
   <pubDate>Sun, 27 Nov 2011 12:08:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19229&amp;PID=66927&amp;title=getmenu-wont-work#66927</guid>
  </item> 
 </channel>
</rss>