<?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 : Menu command handler not called</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Menu command handler not called]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 06 Jun 2026 23:22:13 +0000</pubDate>
  <lastBuildDate>Wed, 10 May 2023 04:03:21 +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=24391</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[Menu command handler not called : I wanted to try adding a new command...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24391&amp;PID=78689&amp;title=menu-command-handler-not-called#78689</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3268">vjedlicka</a><br /><strong>Subject:</strong> 24391<br /><strong>Posted:</strong> 10 May 2023 at 4:03am<br /><br /><div>I wanted to try adding a new command handler to the GUI_VisualStudio sample.</div><div>The "Project - Add Class..." menu command has ID 182</div><div><br></div><div>I added this line:</div><div><span style=": rgb240, 241, 245;"><table width="99%"><tr><td><pre class="BBcode"></span>ON_COMMAND(182, Test_Command)<span style=": rgb240, 241, 245;"></pre></td></tr></table></span></div><div><br></div><div>to the message map of CMainFrame</div><div><br></div><div>The handler:</div><div><span style=": rgb240, 241, 245;"><table width="99%"><tr><td><pre class="BBcode"></span></div><div>void CMainFrame::Test_Command()</div><div>{</div><div><span style="white-space:pre">	</span>AfxMessageBox(L"Test_Command");</div><div>}</div><div><span style=": rgb240, 241, 245;"></pre></td></tr></table></span></div><div>It does not work.</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 10 May 2023 04:03:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24391&amp;PID=78689&amp;title=menu-command-handler-not-called#78689</guid>
  </item> 
 </channel>
</rss>