![]()  | 
 
Delete Menu | 
 
    Post Reply  
   | 
  
| Author | |
   
   Ocrana  
   
   Groupie  
   Joined: 20 November 2007 Status: Offline Points: 32  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Delete MenuPosted: 14 July 2012 at 5:57pm  | 
 
| 
   
    
   Hello, 
   
  I use a menu from resource. I load it to a commandbar with: CXTPMenuBar* pMenuBar = pCommandBars->SetMenu(_T("Menu Bar"), IDR_MAINDIALOG); How can I dynamic edit the mneu? Like with a feature i want to delete the whole PopupMneu with its parent. BUt I just found a mthod to remove all childs from menu topic. How can I delete a topic7Parent? Ingo 
    | 
 |
![]()  | 
 |
   
   rdhd  
   
   Senior Member  
   Joined: 13 August 2007 Location: United States Status: Offline Points: 951  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 01 February 2013 at 5:56pm | 
 
| 
   
    
   Sometimes I use a CMenu and call LoadMenu. Then I modify the menu. Then I call the CJ LoadMenu API.
    
   
   | 
 |
![]()  | 
 |
    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  |