Print Page | Close Window

Menu shortcut problem

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=2841
Printed Date: 04 October 2024 at 10:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Menu shortcut problem
Posted By: Sergey
Subject: Menu shortcut problem
Date Posted: 04 September 2005 at 1:09am

Many of menu accelerators do not work. Firstly accelerator names like Ctrl+F disappeared from menu item texts. After additon:

pCommandBars->GetCommandbarsOptions()->bAutoUpdateShor tcuts = FALSE;

the accelerator names returned back to the item text. However these accelerators do not work at all! I read your advice to assign all accelerators to CMainFrame. This solution is not applicable for us because our MDI application opens different kinds of child windows. Each kind of child window has its own menu that contains its own accelerators. It means that, for example, Ctrl+F in one window calls metod A while the same accelerator in another window calls method B. So I can not assign both accelerators to CMainFrame. Is there a way to use same accelerators in different child windows?




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