![]()  | 
 
CXTPMenuBar and Accelerator Strings... | 
 
    Post Reply  
   | 
  
| Author | |
   
   ddlittle  
   
   Senior Member  
   Joined: 19 February 2004 Location: United States Status: Offline Points: 132  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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!  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |