<?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 : Custom Shortcut Text in Menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Custom Shortcut Text in Menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 21:07:24 +0000</pubDate>
  <lastBuildDate>Sat, 02 Sep 2006 00:35:51 +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=4949</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[Custom Shortcut Text in Menu : Thanks.I got another alternative.In...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4949&amp;PID=15426&amp;title=custom-shortcut-text-in-menu#15426</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 4949<br /><strong>Posted:</strong> 02 September 2006 at 12:35am<br /><br /><br><br>Thanks.<br><br>I got another alternative.<br><br>In OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl) I write the following code<br><br><table width="99%"><tr><td><pre class="BBcode"><br>if (lpCreateControl-&gt;nID == ID_MENU_FIND)<br>{<br>&nbsp;&nbsp;&nbsp; CXTPControlButton *pButton = new CXTPControlButton();<br>&nbsp;&nbsp;&nbsp; pButton-&gt;SetShortcutText(_T("Ctrl+Shift+F"));<br>&nbsp;&nbsp;&nbsp; lpCreateControl-&gt;pControl = pButton;<br>&nbsp;&nbsp;&nbsp; return TRUE;<br>}<br></pre></td></tr></table><br><br><br>Regards,<br>Gautam Jain<br><br>]]>
   </description>
   <pubDate>Sat, 02 Sep 2006 00:35:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4949&amp;PID=15426&amp;title=custom-shortcut-text-in-menu#15426</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Shortcut Text in Menu : Hello,  call pCommandBars-&amp;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4949&amp;PID=15416&amp;title=custom-shortcut-text-in-menu#15416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4949<br /><strong>Posted:</strong> 01 September 2006 at 11:43am<br /><br /><DIV>Hello,</DIV><DIV>&nbsp;</DIV><DIV>call</DIV><DIV>pCommandBars-&gt;GetCommandBarsOptions()-&gt;bAutoUpdateShortcuts = FALSE</DIV><DIV>&nbsp;</DIV><DIV>but user will not be able to customize shortcuts...</DIV>]]>
   </description>
   <pubDate>Fri, 01 Sep 2006 11:43:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4949&amp;PID=15416&amp;title=custom-shortcut-text-in-menu#15416</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Shortcut Text in Menu : Hello I have a menu in which I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4949&amp;PID=15409&amp;title=custom-shortcut-text-in-menu#15409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 4949<br /><strong>Posted:</strong> 01 September 2006 at 7:51am<br /><br /><br>Hello <br><br>I have a menu in which I want to show custom shortcut text. This shortcut text does not exist in accelerator table because the shortcut text is configurable by the user.<br><br>Example: if the user configures "Ctrl+Shift+F" for finding, then I will show "Find\tCtrl+Shift+F" in the menu. I will modify the menu item using the ModifyMenu API before calling TrackPopupMenu<br><br>The XTP framework removes the "\tCtrl+Shift+F" text because it is not found in the accelerator table. <br><br>How do I stop XTP from removing the short text that I have added to the menu.<br><br>Regards,<br>Gautam Jain<br><br>]]>
   </description>
   <pubDate>Fri, 01 Sep 2006 07:51:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4949&amp;PID=15409&amp;title=custom-shortcut-text-in-menu#15409</guid>
  </item> 
 </channel>
</rss>