<?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 : Accelerators (Again)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Accelerators (Again)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 08:11:02 +0000</pubDate>
  <lastBuildDate>Fri, 03 Nov 2006 10:39:46 +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=5420</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[Accelerators (Again) : Thanks - spot on!  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5420&amp;PID=16993&amp;title=accelerators-again#16993</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5420<br /><strong>Posted:</strong> 03 November 2006 at 10:39am<br /><br />Thanks - spot on!]]>
   </description>
   <pubDate>Fri, 03 Nov 2006 10:39:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5420&amp;PID=16993&amp;title=accelerators-again#16993</guid>
  </item> 
  <item>
   <title><![CDATA[Accelerators (Again) :   Simon HB9DRV wrote:Brilliant...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5420&amp;PID=16990&amp;title=accelerators-again#16990</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1801">rmercer</a><br /><strong>Subject:</strong> 5420<br /><strong>Posted:</strong> 03 November 2006 at 9:24am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Simon HB9DRV" alt="Originally posted by Simon HB9DRV" style="vertical-align: text-bottom;" /> <strong>Simon HB9DRV wrote:</strong><br /><br />Brilliant - my brand new program displays the accelerators (F1 - F5 and F8) in menus and toolbars but they don't work - pressing F8 has no effect.<BR><BR>Another program works well.<BR><BR>Any ideas? I use a standard Accelerator table in Visual Studio 6.0 and am slowly going crazy :-)<BR><BR>It makes no difference at all when I add the line below: <B>pCommandBars-&gt;GetShortcutManager()-&gt;SetAccelerators(IDR_MAINFRAME);</B><BR><BR></td></tr></table> <DIV>I experienced a similar issue caused by my override of&nbsp;CMainFrame::PreTranslateMessage.</DIV><DIV>&nbsp;</DIV><DIV>My return was: CFrameWnd::PreTranslateMessage(pMsg);</DIV><DIV>when it should have been: CXTPFrameWnd::PreTranslateMessage(pMsg);</DIV><DIV>&nbsp;</DIV><DIV>Example:</DIV><DIV>BOOL CMainFrame::PreTranslateMessage(MSG* pMsg)</DIV><DIV>{</DIV><DIV>&nbsp; return CXTPFrameWnd::PreTranslateMessage(pMsg);</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>As soon as I fixed it to match the class I was actually using, the accelerator keys worked perfectly.</DIV><DIV>&nbsp;</DIV><DIV>Perhaps your issue is the same as mine?</DIV>]]>
   </description>
   <pubDate>Fri, 03 Nov 2006 09:24:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5420&amp;PID=16990&amp;title=accelerators-again#16990</guid>
  </item> 
  <item>
   <title><![CDATA[Accelerators (Again) : Brilliant - my brand new program...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5420&amp;PID=16986&amp;title=accelerators-again#16986</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5420<br /><strong>Posted:</strong> 03 November 2006 at 6:07am<br /><br />Brilliant - my brand new program displays the accelerators (F1 - F5 and F8) in menus and toolbars but they don't work - pressing F8 has no effect.<br><br>Another program works well.<br><br>Any ideas? I use a standard Accelerator table in Visual Studio 6.0 and am slowly going crazy :-)<br><br>It makes no difference at all when I add the line below: <b>pCommandBars-&gt;GetShortcutManager()-&gt;SetAccelerators(IDR_MAINFRAME);</b><br><br>]]>
   </description>
   <pubDate>Fri, 03 Nov 2006 06:07:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5420&amp;PID=16986&amp;title=accelerators-again#16986</guid>
  </item> 
 </channel>
</rss>