Print Page | Close Window

Customize Keyboard: How to get Reset All to work?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=23384
Printed Date: 25 April 2024 at 3:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Customize Keyboard: How to get Reset All to work?
Posted By: wrecks
Subject: Customize Keyboard: How to get Reset All to work?
Date 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.)








Replies:
Posted By: olebed
Date 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



Posted By: wrecks
Date Posted: 21 July 2017 at 8:01am
Thank you!  It was  EnableCustomization TRUE  that I was missing.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net