<?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 : [Closed] General MDI Accelerators Problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : [Closed] General MDI Accelerators Problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 06:34:51 +0000</pubDate>
  <lastBuildDate>Sun, 05 Nov 2006 10:51:32 +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=5427</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[[Closed] General MDI Accelerators Problem : Hi Oleg,FYI - to allow tabbing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5427&amp;PID=17025&amp;title=closed-general-mdi-accelerators-problem#17025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5427<br /><strong>Posted:</strong> 05 November 2006 at 10:51am<br /><br />Hi Oleg,<br><br>FYI - to allow tabbing to work you must call CDialog::PreTranslateMessage for WM_KEYFIRST, WM_KEYDOWN, WM_KEYUP when wParam == VK_TAB.]]>
   </description>
   <pubDate>Sun, 05 Nov 2006 10:51:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5427&amp;PID=17025&amp;title=closed-general-mdi-accelerators-problem#17025</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] General MDI Accelerators Problem :    oleg wrote:Hi,  Override...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5427&amp;PID=17019&amp;title=closed-general-mdi-accelerators-problem#17019</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5427<br /><strong>Posted:</strong> 05 November 2006 at 5:02am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hi,<div>&nbsp;</div><div>Override PreTranslateMessage(MSG* pMsg) for your &nbsp;dialogs and call CWnd::PreTranslateMessage instead of CDialog::PreTranslateMessage </div></td></tr></table><br><br>Well done - you really know MFC <img src="http://forum.codejock.com/smileys/smiley32.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Sun, 05 Nov 2006 05:02:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5427&amp;PID=17019&amp;title=closed-general-mdi-accelerators-problem#17019</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] General MDI Accelerators Problem : Hi,  Override PreTranslateMessage(MSG*...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5427&amp;PID=17014&amp;title=closed-general-mdi-accelerators-problem#17014</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5427<br /><strong>Posted:</strong> 05 November 2006 at 3:03am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Override PreTranslateMessage(MSG* pMsg) for your &nbsp;dialogs and call CWnd::PreTranslateMessage instead of CDialog::PreTranslateMessage </DIV>]]>
   </description>
   <pubDate>Sun, 05 Nov 2006 03:03:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5427&amp;PID=17014&amp;title=closed-general-mdi-accelerators-problem#17014</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] General MDI Accelerators Problem :     Hi Oleg,In an MDI app....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5427&amp;PID=17005&amp;title=closed-general-mdi-accelerators-problem#17005</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5427<br /><strong>Posted:</strong> 04 November 2006 at 4:01am<br /><br />Hi Oleg,<br><br>In an MDI app. I'm having problems, some of which are seen in the Codejock samples. It would be great to get Accelerators working here, I can always add some keyboard hooks if needed as a workaround but would rather see if is a Simon problem (as it so often is).<br><br>&#091;1&#093; In the DockingPane\PaneSample why do the File menu's accelerators (Ctrl+N etc.) <b>not work</b> when a Pane has focus? They work when the View has focus.<br><br>More specifically, what do I have to do so that the acclerators work when the panes have focus? This answer may help with &#091;2&#093;.<br><br>&#091;2&#093; I have a rather convoluted setup (see attached picture).<br><ul><li>Accelerators <b>do not work</b> when my left-hand side dialog panes have focus.</li><li>Accelerators work 100% for the TaskPanel (Macros) pane.</li><li>The form has two CDialogs as children, accelerators do not work here.</li></ul>Regarding the form - I have two controls on the dialog which hold the position for two CDialogs, I chose this approach as I want Command bars as you see. My only problem is the accelerators. I wonder if there is any other way of acheiving what I see here?<br><br><b>Screenshot here</b>: <a href="http://www.hb9drv.ch/tmp/pics/dm001.jpg" target="_blank">http://www.hb9drv.ch/tmp/pics/dm001.jpg</a><br>]]>
   </description>
   <pubDate>Sat, 04 Nov 2006 04:01:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5427&amp;PID=17005&amp;title=closed-general-mdi-accelerators-problem#17005</guid>
  </item> 
 </channel>
</rss>