Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Hot Keys on RibbonBar tabs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hot Keys on RibbonBar tabs

 Post Reply Post Reply
Author
Message
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Topic: Hot Keys on RibbonBar tabs
    Posted: 04 July 2008 at 7:15pm
I have some Tabs in the RibbonBar, and these contain ControlButtons. I have given them Captions with ampersands to denote the Hot Keys, eg &Next

I have set CB.KeyboardCuesUse = xtpKeyboardCuesUseAll = True

But only the Tabs have hot keys (access keys). The buttons on the tabs do not.

Do I need to switch something else on to enable Hot Keys for the buttons?

---------------------------------------------------------------------------------------------
  Later:   OK, I have now found   .KeyBindings      which does work.

But still not found a way to display the Cues (eg show underline) on these buttons.
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
Back to Top
parcorea View Drop Down
Newbie
Newbie


Joined: 03 July 2013
Location: Seoul, Korea
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote parcorea Quote  Post ReplyReply Direct Link To This Post Posted: 04 July 2013 at 5:27am
//-----------------------------------------------------------------------
// Summary:
//     Enumerated type used to determine menu underlines.
// Example:
// <code>
// pCommandBars->GetCommandBarsOptions()->ShowKeyboardCues(xtpKeyboardCuesShowWindowsDefault);
// </code>
//-----------------------------------------------------------------------
enum XTPKeyboardCuesShow
{
xtpKeyboardCuesShowAlways,          // Show keyboard cues always
xtpKeyboardCuesShowNever,           // Never show keyboard cues
xtpKeyboardCuesShowWindowsDefault   // System defined.
};
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.