Print Page | Close Window

CXTPMenuBar and Accelerator Strings...

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=2482
Printed Date: 06 October 2024 at 1:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPMenuBar and Accelerator Strings...
Posted By: ddlittle
Subject: CXTPMenuBar and Accelerator Strings...
Date 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




Replies:
Posted By: Oleg
Date 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



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