Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Dynamically Reset Menus/Shortcuts
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dynamically Reset Menus/Shortcuts

 Post Reply Post Reply
Author
Message
danpetitt View Drop Down
Senior Member
Senior Member


Joined: 17 July 2005
Location: United Kingdom
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote danpetitt Quote  Post ReplyReply Direct Link To This Post Topic: Dynamically Reset Menus/Shortcuts
    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?
Back to Top
danpetitt View Drop Down
Senior Member
Senior Member


Joined: 17 July 2005
Location: United Kingdom
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote danpetitt Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2007 at 4:26pm
Actually I have found it, GetShortcutManager()->Reset() for anyone who knows.
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.031 seconds.