<?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 : Hom to check a subMenu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Hom to check a subMenu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 13:23:55 +0000</pubDate>
  <lastBuildDate>Tue, 24 Aug 2004 06:50:19 +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=1093</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[Hom to check a subMenu : See FAQ.  From FAQ:  Question:How...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1093&amp;PID=2859&amp;title=hom-to-check-a-submenu#2859</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1093<br /><strong>Posted:</strong> 24 August 2004 at 6:50am<br /><br /><P>See FAQ.</P><P>&nbsp;</P><P>From FAQ:</P><P>&nbsp;</P><P><B>Question:</B><BR>How do I handle <FONT style="FONT-SIZE: 9pt" face="Courier New">ON_COMMAND</FONT> and <FONT style="FONT-SIZE: 9pt" face="Courier New">ON_UPDATE_COMMAND_UI</FONT> messages?</P><P><B>Answer:<BR>(part I) using <FONT face="Courier New" size=2>ON_UPDATE_COMMAND_UI</FONT></B><BR>Xtreme Command Bars supports the classic MFC updating mechanism using the <FONT style="FONT-SIZE: 9pt" face="Courier New">ON_UPDATE_COMMAND_UI</FONT> macro.&nbsp;&nbsp;For example, to make a menu or toolbar command item checked you would add the following code:</P><PRE>BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)    //{{AFX_MSG_MAP(CMainFrame)    ...    //}}AFX_MSG_MAP     ON_UPDATE_COMMAND_UI(ID_EDIT_STATE,OnUpdateEditState)END_M ESSAGE_MAP()</PRE><PRE>void CMainFrame::OnUpdateEditState(CCmdUI* pCmdUI){    pCmdUI-&gt;SetCheck(m_bCheck);    pCmdUI-&gt;Enable(TRUE);}</PRE>]]>
   </description>
   <pubDate>Tue, 24 Aug 2004 06:50:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1093&amp;PID=2859&amp;title=hom-to-check-a-submenu#2859</guid>
  </item> 
  <item>
   <title><![CDATA[Hom to check a subMenu : Hi, I&amp;#039;m looking to check...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1093&amp;PID=2845&amp;title=hom-to-check-a-submenu#2845</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=707">Zauz</a><br /><strong>Subject:</strong> 1093<br /><strong>Posted:</strong> 20 August 2004 at 10:50am<br /><br />Hi,<br>I'm looking to check dynamically a subMenu. And I can't find what's working.<br>Can someone help me please ???<br><br>Thanks a lot for your answer <br>]]>
   </description>
   <pubDate>Fri, 20 Aug 2004 10:50:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1093&amp;PID=2845&amp;title=hom-to-check-a-submenu#2845</guid>
  </item> 
 </channel>
</rss>