Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Customize Keyboard: How to get Reset All to work?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Customize Keyboard: How to get Reset All to work?

 Post Reply Post Reply
Author
Message
wrecks View Drop Down
Groupie
Groupie


Joined: 14 July 2015
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote wrecks Quote  Post ReplyReply Direct Link To This Post Topic: Customize Keyboard: How to get Reset All to work?
    Posted: 07 July 2017 at 9:01am
A follow-up to my earlier topic "Issue with Ribbon Customize Keyboard":

I can get the Customize dialog, Keyboard tab, to create keyboard shortcuts.  But I don't understand how to use the Reset All button.  

First, a less important question: When I click Reset All, I get a dialog saying "Are you sure you want to reset the key assignments? This action will remove all custom key assignments at the text level."  I understand that a warning is appropriate, but what does the phrase "at the text level" mean?  

But here is my big problem:  When I click Reset All and say Yes to the warning, nothing happens!  For instance, in my snapshot, the Ctrl+Shift+T remains.  Is there some event that I need to listen for and reset the keys myself?  (I see that there is a CustomizationResetAll event, but it is not firing.)





Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 09 July 2017 at 8:32am
Hello wrecks, 

When you call EnableCustomization then  ShortcutManager  creates  OriginalAccelTable  (copies it from current).  Then when you call ResetAll  it  restores that original table and updates interface of customization page.

CustomizationResetAll event relates to QuickAccessToolbar  customization page.

Regards,
 Oleksandr Lebed

Back to Top
wrecks View Drop Down
Groupie
Groupie


Joined: 14 July 2015
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote wrecks Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2017 at 8:01am
Thank you!  It was  EnableCustomization TRUE  that I was missing.
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.141 seconds.