Print Page | Close Window

Dynamically Reset Menus/Shortcuts

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7188
Printed Date: 12 November 2025 at 9:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dynamically Reset Menus/Shortcuts
Posted By: danpetitt
Subject: Dynamically Reset Menus/Shortcuts
Date Posted: 20 May 2007 at 1:27pm
When I add a new menu command and start my app, the toolkit asks to reset the Menu Bar ... is there any way to programatically do this?

Also, if I add a new accelerator to any new commands, these arent loaded until the user chooses to "Reset" their keyboard shortcuts from the Customisation dialog ... is there a way to programatically force them to be rebuilt from the app defaults so removing this user-step?



Replies:
Posted By: danpetitt
Date Posted: 20 May 2007 at 4:26pm
Actually I have found it, GetShortcutManager()->Reset() for anyone who knows.



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