Customize-Dialog |
Post Reply |
Author | |
asmbaec
Newbie Joined: 04 May 2005 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 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)
|
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
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |