<?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 : CCmdUI * pCmdUI -&gt; m_pMenu = NULL?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CCmdUI * pCmdUI -&gt; m_pMenu = NULL?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 03:53:29 +0000</pubDate>
  <lastBuildDate>Tue, 11 Mar 2008 06:39:39 +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=9849</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[CCmdUI * pCmdUI -&gt; m_pMenu = NULL? : Hi,  CommandBars Popups derived...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9849&amp;PID=32127&amp;title=ccmdui-pcmdui-m-pmenu-null#32127</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9849<br /><strong>Posted:</strong> 11 March 2008 at 6:39am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>CommandBars Popups derived from CWnd and don't use CMenu. You need replace your code to use CXTPCommandBar methods instead of CMenu's.</DIV><DIV>&nbsp;</DIV><DIV>For example:</DIV><DIV>void CMainFrame::OnUpdateItem2(CCmdUI* pCmdUI)<BR>{<BR>&nbsp;CXTPControl* pControl = CXTPControl::FromUI(pCmdUI);<BR>&nbsp;if (pControl)<BR>&nbsp;{<BR>&nbsp;&nbsp;pControl-&gt;SetVisible(m_bShowItem);<BR>&nbsp;}</DIV><DIV>}</DIV>]]>
   </description>
   <pubDate>Tue, 11 Mar 2008 06:39:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9849&amp;PID=32127&amp;title=ccmdui-pcmdui-m-pmenu-null#32127</guid>
  </item> 
  <item>
   <title><![CDATA[CCmdUI * pCmdUI -&gt; m_pMenu = NULL? : I implement ON_UPDATE_COMMAND_UI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9849&amp;PID=32115&amp;title=ccmdui-pcmdui-m-pmenu-null#32115</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3831">corapollo</a><br /><strong>Subject:</strong> 9849<br /><strong>Posted:</strong> 10 March 2008 at 9:52pm<br /><br />I implement ON_UPDATE_COMMAND_UI message handler.<br>But pCmdUI-&gt;m_pMenu is NULL.<br>How can I use this member?<br>]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 21:52:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9849&amp;PID=32115&amp;title=ccmdui-pcmdui-m-pmenu-null#32115</guid>
  </item> 
 </channel>
</rss>