Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Menu shortcut problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Menu shortcut problem

 Post Reply Post Reply
Author
Message
Sergey View Drop Down
Newbie
Newbie


Joined: 15 November 2004
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sergey Quote  Post ReplyReply Direct Link To This Post Topic: Menu shortcut problem
    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?

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.172 seconds.