<?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 : How to gray a CXTMenu menu item?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How to gray a CXTMenu menu item?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 10:21:54 +0000</pubDate>
  <lastBuildDate>Sat, 24 Jul 2004 21:37:34 +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=966</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[How to gray a CXTMenu menu item? : They are like notmal menus. You...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=966&amp;PID=2570&amp;title=how-to-gray-a-cxtmenu-menu-item#2570</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=27">srana</a><br /><strong>Subject:</strong> 966<br /><strong>Posted:</strong> 24 July 2004 at 9:37pm<br /><br /><P>They are like notmal menus. You have to handle on </P><P><FONT size=2>ON_UPDATE_COMMAND_UI(ID_MSG_XX, OnMSGXX)</FONT></P><FONT size=2><FONT color=#0000ff size=2><P>void</FONT><FONT size=2> CLassName::OnMSGXXCCmdUI *pCmdUI)</P><P>{</P><P>pCmdUI-&gt;Enable(false);</P><P>}</P></FONT></FONT>]]>
   </description>
   <pubDate>Sat, 24 Jul 2004 21:37:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=966&amp;PID=2570&amp;title=how-to-gray-a-cxtmenu-menu-item#2570</guid>
  </item> 
  <item>
   <title><![CDATA[How to gray a CXTMenu menu item? : Hi,  Pleasehelp...  I&amp;#039;ve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=966&amp;PID=2551&amp;title=how-to-gray-a-cxtmenu-menu-item#2551</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=286">softz</a><br /><strong>Subject:</strong> 966<br /><strong>Posted:</strong> 22 July 2004 at 12:59am<br /><br /><P>Hi, </P><P>Please&nbsp;help... </P><P>I've a menu shown as below (for example).</P><FONT color=#0000ff size=2><FONT size=2><P><FONT color=#0000ff>CXTMenu menu;<BR></FONT></FONT></FONT><FONT size=2><FONT color=#0000ff>menu.LoadMenu(IDR_MENU);<BR></FONT></FONT><FONT size=2><FONT color=#0000ff><FONT size=2><FONT size=2>CXTMenu* pSubMenu = menu.GetSubMenu(0);<BR></FONT>pSubMenu-&gt;EnableMenuItem(ID_MENU_ITEM1, <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MF_BYCOMMAND | MF_DISABLED | MF_GRAYED);<BR></FONT></FONT></FONT><FONT size=2><FONT color=#0000ff>CXTPCommandBars::TrackPopupMenu(pSubMenu, 0, </FONT><FONT color=#0000ff>pos.x, pos.y, </FONT></FONT><FONT color=#0000ff><FONT size=2>this</FONT><FONT size=2>);</P></FONT></FONT><P>I'm using the code for a pop-up menu. Unfortunately, it failed to disable the menu item. May I know how could I disable a menu item if I'm using the CXTMenu?</P><P>Regards.</P>]]>
   </description>
   <pubDate>Thu, 22 Jul 2004 00:59:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=966&amp;PID=2551&amp;title=how-to-gray-a-cxtmenu-menu-item#2551</guid>
  </item> 
 </channel>
</rss>