![]()  | 
 
Customize-Dialog | 
 
    Post Reply  
   | 
  
| Author | |
   
   asmbaec  
   
   Newbie  
   Joined: 04 May 2005 Status: Offline Points: 2  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Customize-DialogPosted: 04 May 2005 at 9:26am  | 
 
| 
   
    Hi, I created in my MDIFrameWnd a menubar and set it to the CommandBars. A lillte bit later I load a new MenuBar by LoadMenu. When I now open the Customizedialog I will see the old menu. Is this a bug or are there any functions to update the commandbar ?  | 
 |
![]()  | 
 |
   
   asmbaec  
   
   Newbie  
   Joined: 04 May 2005 Status: Offline Points: 2  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 04 May 2005 at 9:55am | 
 
| 
   
    
   I found the mistake. I used 
 
   
  InsertBuiltInMenus(IDR_MAINFRAME) This method loads the menu from resource. But how can I set a new menubar which is not from resource, because I used LoadMenu (CMenu* pMenu) ?  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 06 May 2005 at 1:25am | 
 
| 
   
    same method: pMenuBar->LoadMenu(pMenu, TRUE);  | 
 |
| 
   
     
     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  |