Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Problem with loading last states in case of multiple ribbonbar Collapse All
Subject Author Date
Brian Horn Apr 3, 2007 - 5:31 AM

I have created one MDI MFC sample application for your reference. This application contains 2 ribbonbars. For the very first time application executes it shows ribbonbar. I have 2 problems. They are as below.



How to run this application:

Click on file->Recentfiles->Recentfile it hides first ribbonbar and displays new ribbonbar with only help node.



Problem:

1. In first ribbonbar if I add some buttons to quick access bar using customize quick access toolbar menu and then I click on Recentfile button that will hide current ribbonbar and display new ribbonbar. On second ribbonbar also if I add some more customize new buttons then close the application. Then next time my application should load the default ribbonbar with customized toolbar and on click of Recentfiles it should load second ribbonbar with customized buttons as well.



2. There is one more problem. When I click on recent file it will hide the first ribbonbar and display new ribbonbar. But new ribbonbar is not showing window title in middle of the screen. Its left aligned. How to fix this problem as well?


Please refer Sample application which is sent by "ayubkhan.pathan@mscsoftware.com" to support team.

Technical Support Apr 3, 2007 - 9:24 AM

Thank you for the interesting questions and your test project. Both ribbon controls have different content. This means they should use different registry locations for loading/saving their states. We emailed the fixed project to the specified address.