<?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 : I want to trap accelerator keys bef menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : I want to trap accelerator keys bef menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 16:54:11 +0000</pubDate>
  <lastBuildDate>Mon, 08 May 2006 17:51: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=4021</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[I want to trap accelerator keys bef menu : I myself sorted it out. BOOL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4021&amp;PID=12794&amp;title=i-want-to-trap-accelerator-keys-bef-menu#12794</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1833">deepghosh</a><br /><strong>Subject:</strong> 4021<br /><strong>Posted:</strong> 08 May 2006 at 5:51pm<br /><br /><P>I myself sorted it out.</P><P>BOOL CiMainFrame::PreTranslateMessage(MSG* pMsg)<BR>{<BR>&nbsp;&nbsp;&nbsp; if ((pMsg-&gt;message == WM_SYSKEYDOWN) &amp;&amp; (HIWORD(pMsg-&gt;lParam) &amp; KF_ALTDOWN))<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;TCHAR chAccel = (TCHAR)(UINT)pMsg-&gt;wParam;<BR>&nbsp;CvBaseView *pView = (CvBaseView *) GetActiveView();<BR>&nbsp;chAccel = toupper(chAccel);<BR>&nbsp;if (chAccel &amp;&amp; pView -&gt; ProcessAccelerator(chAccel))<BR>&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;</P><P>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; return CXTPFrameWnd::PreTranslateMessage(pMsg);<BR>}</P>]]>
   </description>
   <pubDate>Mon, 08 May 2006 17:51:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4021&amp;PID=12794&amp;title=i-want-to-trap-accelerator-keys-bef-menu#12794</guid>
  </item> 
  <item>
   <title><![CDATA[I want to trap accelerator keys bef menu : Oleg, Could you please respond...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4021&amp;PID=12291&amp;title=i-want-to-trap-accelerator-keys-bef-menu#12291</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1833">deepghosh</a><br /><strong>Subject:</strong> 4021<br /><strong>Posted:</strong> 19 April 2006 at 9:45am<br /><br /><P>Oleg,</P><P>Could you please respond to this?</P><P>I have a licensed userid.</P><P>I will provide any information you need.</P><P>I really need an answer to this one.</P><P>Thanks in Advance.</P><P>Deep</P>]]>
   </description>
   <pubDate>Wed, 19 Apr 2006 09:45:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4021&amp;PID=12291&amp;title=i-want-to-trap-accelerator-keys-bef-menu#12291</guid>
  </item> 
  <item>
   <title><![CDATA[I want to trap accelerator keys bef menu : Just on more piece of info. If...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4021&amp;PID=12234&amp;title=i-want-to-trap-accelerator-keys-bef-menu#12234</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1833">deepghosh</a><br /><strong>Subject:</strong> 4021<br /><strong>Posted:</strong> 18 April 2006 at 1:46am<br /><br /><P>Just on more piece of info.</P><P>If I can get an exit, I know how to process my group if buttons. So the issue is which function I should override.</P>]]>
   </description>
   <pubDate>Tue, 18 Apr 2006 01:46:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4021&amp;PID=12234&amp;title=i-want-to-trap-accelerator-keys-bef-menu#12234</guid>
  </item> 
  <item>
   <title><![CDATA[I want to trap accelerator keys bef menu : I am using an application for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4021&amp;PID=12233&amp;title=i-want-to-trap-accelerator-keys-bef-menu#12233</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1833">deepghosh</a><br /><strong>Subject:</strong> 4021<br /><strong>Posted:</strong> 18 April 2006 at 1:45am<br /><br /><P>I am using an application for which my main framewindowis derived from CXTPFrameWnd (The usual way).</P><P>I have some menu items with accel key e.g. &amp;Session.</P><P>In the application&nbsp; I have some CView derived class (with window) which is a childwindow of CXTPFrameWnd.</P><P>This class has buttons with alt key as S (Lets say &amp;Save).</P><P>If this button is on the screen , I want to process this button and ignore the &amp;Session on the menu.</P><P>Is there anyway to achieve this?</P>]]>
   </description>
   <pubDate>Tue, 18 Apr 2006 01:45:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4021&amp;PID=12233&amp;title=i-want-to-trap-accelerator-keys-bef-menu#12233</guid>
  </item> 
 </channel>
</rss>