<?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 : Keyboard Customization not working 100%</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Keyboard Customization not working 100%]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 08:13:28 +0000</pubDate>
  <lastBuildDate>Thu, 21 Sep 2006 15:41:16 +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=5111</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[Keyboard Customization not working 100% : Thanks. Yes, I know I can do that....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15982&amp;title=keyboard-customization-not-working-100#15982</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2272">kevins</a><br /><strong>Subject:</strong> 5111<br /><strong>Posted:</strong> 21 September 2006 at 3:41pm<br /><br />Thanks. Yes, I know I can do that. I wanted to get away without addinganother variable since the button does know whether it is checked ornot. I guess I will have to add the variable since the user can usecustomization to remove the button completely but still get thebehavior with the accell<br><br>Thanks again, I think all my questions regarding this topic have been answered.<br><br>]]>
   </description>
   <pubDate>Thu, 21 Sep 2006 15:41:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15982&amp;title=keyboard-customization-not-working-100#15982</guid>
  </item> 
  <item>
   <title><![CDATA[Keyboard Customization not working 100% : Accelerators it is system thing....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15979&amp;title=keyboard-customization-not-working-100#15979</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5111<br /><strong>Posted:</strong> 21 September 2006 at 2:00pm<br /><br /><P>Accelerators it is system thing. It will executed even if you don't have any button in toolbar or menu. Seems you have problem with architecture. Instead checking all controls to find checked state, add variable in CMainFrame that will store it and just check it and switch its state in ON_COMMAND handler.</P><DIV>&nbsp;</DIV><DIV>simple sample:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;ON_COMMAND(ID_THEMES_THEMES, OnSwitchCommand)<BR>&nbsp;ON_UPDATE_COMMAND_UI(ID_THEMES_THEMES, OnUpdateSwitchCommand)<BR></DIV><DIV>&nbsp;</DIV><DIV>void CMainFrame::OnSwitchCommand()<BR>{<BR>&nbsp;m_bChecked = !m_bChecked;<BR>}</DIV><DIV>void CMainFrame::OnUpdateSwitchCommand(CCmdUI* pCmdUI)<BR>{<BR>&nbsp;pCmdUI-&gt;SetCheck(m_bChecked);<BR>}<BR></DIV>]]>
   </description>
   <pubDate>Thu, 21 Sep 2006 14:00:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15979&amp;title=keyboard-customization-not-working-100#15979</guid>
  </item> 
  <item>
   <title><![CDATA[Keyboard Customization not working 100% : If I do that, will I have the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15976&amp;title=keyboard-customization-not-working-100#15976</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2272">kevins</a><br /><strong>Subject:</strong> 5111<br /><strong>Posted:</strong> 21 September 2006 at 1:00pm<br /><br />If I do that, will I have the CXTPControl associated with the button Iclicked on? I think not. If not, then it would be easier just toimplement the ON_COMMAND handler for the button and in that routine Iwill have to search the toolbars for the button I'm interested in so Ican get its checked state.]]>
   </description>
   <pubDate>Thu, 21 Sep 2006 13:00:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15976&amp;title=keyboard-customization-not-working-100#15976</guid>
  </item> 
  <item>
   <title><![CDATA[Keyboard Customization not working 100% : Hi,  It is MFC thing. When User...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15949&amp;title=keyboard-customization-not-working-100#15949</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5111<br /><strong>Posted:</strong> 21 September 2006 at 1:07am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>It is MFC thing. When User press Key, OS generates WM_COMMAND message and ON_COMMAND handler executed. You can overide OnCommand and dispatch message if it is WM_COMMAND from accelerator.</DIV>]]>
   </description>
   <pubDate>Thu, 21 Sep 2006 01:07:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15949&amp;title=keyboard-customization-not-working-100#15949</guid>
  </item> 
  <item>
   <title><![CDATA[Keyboard Customization not working 100% :  I have some tools on a toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15941&amp;title=keyboard-customization-not-working-100#15941</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2272">kevins</a><br /><strong>Subject:</strong> 5111<br /><strong>Posted:</strong> 20 September 2006 at 4:10pm<br /><br />I have some tools on a toolbar that are not in any menus. So I addedthe ids to the CXTPCustomizeKeyboardPage page. I then make keyassignments for my tools via the user interface.<br><br>Here is the problem. Some of the key assignments work and some don't.I've tracked down the difference between the tools that work and thetools that don't.<br><br>Tools that work are handled like this in the Message Map:<br>ON_COMMAND(IDC_PS_LEFT, OnAlignLeft)<br><br>Tools that do not work are handled like this:<br>ON_XTP_EXECUTE(IDC_FONT_BOLD, OnBold)<br><br>Is there a way I can solve this? I'm using ON_XTP_EXECUTE so I have thecontrol and can get its state. I'd really don't want to bail out onusing ON_XTP_EXECUTE.<br><br>]]>
   </description>
   <pubDate>Wed, 20 Sep 2006 16:10:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5111&amp;PID=15941&amp;title=keyboard-customization-not-working-100#15941</guid>
  </item> 
 </channel>
</rss>