System menu items are missing |
Post Reply |
Author | |
Beth
Groupie Joined: 10 December 2004 Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 01 March 2013 at 2:17pm |
Hi: I am using the sample ribbon codes to test out system menu to see how to add and remove menu items from the system button. I commented out the codes that added menu items into the system menu. After compiled and run, the items were still there. Then I launched the "Customize the Ribbon" page and clicked on the "Reset" button. The menus on the system button are gone as expected. Then I uncommented the codes that were commented before and compiled and use the "Reset" button again on the "Customize the Ribbon Page", but the menus are not comming back. No matter what menu I add or delete, the system button menu items are reminded missing. How do I get the system menu back? Please help.Thanks,Beth |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Try commenting out this line:
CommandBars.LoadCommandBars "Codejock Software ActiveX Demos", App.Title, "Layout" |
|
Beth
Groupie Joined: 10 December 2004 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
But I cannot find that line of code you mentioned in the project. We are using the dll version of the toolkits in MFC environment. Are there other places that may contribute the problem? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Was missing lines in backstage code:
pButton->SetCommandBar(pView); pView->InternalRelease(); |
|
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 |