Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPMenuBar and Accelerator Strings...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPMenuBar and Accelerator Strings...

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


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: CXTPMenuBar and Accelerator Strings...
    Posted: 30 June 2005 at 10:33am

My CXTPMenuBar in my frame somehow "eats" the accelerator strings, or replaces them with the wrong stuff.  For example, in my .RC, I have a "Find" menu choice defined as "Find\tCtrl+F", but when it appears in the running app, somehow the Ctrl+F has changed to Ctrl+R.  Other accelerators disappear altogether.

Any ideas?  If it's getting the strings from an accelerator table, which one?  My CView object has its own, and each of the panes (which contain dialogs/property grids/spreadsheets) has its own.

Any ideas?

Thanks!
- David

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 July 2005 at 1:19am

To support Shortcuts customization we use shortcuts declared in CMainFrame's table. Move all shortcuts to this table.

If you don't use customization you can call

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

(9.70)

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.140 seconds.