<?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 : Kryboard shortcut as caption in Menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Kryboard shortcut as caption in Menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:54:14 +0000</pubDate>
  <lastBuildDate>Tue, 17 Nov 2009 15:21:24 +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=15645</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[Kryboard shortcut as caption in Menu :   You should let Codejock build...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15645&amp;PID=54933&amp;title=kryboard-shortcut-as-caption-in-menu#54933</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 15645<br /><strong>Posted:</strong> 17 November 2009 at 3:21pm<br /><br />You should let Codejock build the shortcut strings from the defined accelerators. This way is much easier than hard-coding them and handles customized keyboard shortcuts, which hard coding will not.<br><br>First, be sure to set this option in the CXTPCommandBars that hosts the popup:<br><br><font color="#0000ff">GetCommandBarsOptions()-&gt;bShowContextMenuAccelerators</font><br><br>For using an regular accelerator resource (not designer shortcuts), you need to call:<br><br><font color="#0000ff">GetCommandBars()-&gt;GetShortcutManager()-&gt;SetAccelerators(<i>ACCELERATOR_RESOURCE_ID</i>)</font>;<br><br>from the main frame's <font color="#0000ff">OnCreate()</font>. Be sure to call it before loading the layout's user customizations.<br><br>]]>
   </description>
   <pubDate>Tue, 17 Nov 2009 15:21:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15645&amp;PID=54933&amp;title=kryboard-shortcut-as-caption-in-menu#54933</guid>
  </item> 
  <item>
   <title><![CDATA[Kryboard shortcut as caption in Menu : Hello I am trying to implement...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15645&amp;PID=54908&amp;title=kryboard-shortcut-as-caption-in-menu#54908</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5683">rattana</a><br /><strong>Subject:</strong> 15645<br /><strong>Posted:</strong> 17 November 2009 at 1:27am<br /><br /><P>Hello</P><DIV>I am trying to implement a pop up menu using CXTPcontrolpopUp and adding cxptcontrol to it . I need to append the keyboard shortcut associated with the cxtpcontrol.</DIV><DIV>the caption I gave is as below:-</DIV><DIV>"<FONT color=#a31515 size=2><FONT color=#a31515 size=2>&amp;New...\tCtrl+N"</FONT></FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>SetCaption function of cxtpcontrol breaks the caption from "\t" and puts the caption as "New..." and the shortcut part is set as shortcuttextauto.</FONT></FONT></DIV><DIV><FONT color=#010001 size=2>Is there any way I can get the caption of menu item as <FONT color=#000000>"</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>&amp;New...\tCtrl+N"</FONT></FONT></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Thanks so much in advance</FONT></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 17 Nov 2009 01:27:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15645&amp;PID=54908&amp;title=kryboard-shortcut-as-caption-in-menu#54908</guid>
  </item> 
 </channel>
</rss>