Converting an existing app to Ribbon |
Post Reply |
Author | |
scottp
Groupie Joined: 16 October 2006 Status: Offline Points: 59 |
Post Options
Thanks(0)
Posted: 27 January 2015 at 3:09am |
Hi,
I would like to get some advice or direction as to the best way to convert an existing application to a ribbon. The application is quite large, it has a couple 1000 menu items, and over 300 toolbar icons (loaded from .ico files into XTPImageManger using appropriate menu IDs). During the transition stage I would also like to provide the option to switch from Ribbon to menu/toolbar GUI. As such all the menu ID, icons, tooltips exist and would ideally be shared and synced. I know the process to come with a good ribboninterface to replace existing menu and toolbar will take some time of review and adjustment - but I would like to start with a ribbon that follows the structure of the menu. Is there an easy way to "import" and existing menu resource into a ribbon? (I would really like to avoid having to create it by hand if at all possible.) What is the best way to store the ribbon to ensure flexibility and access to all features and styles? in the MFC style resource? or via the code definition? (it seems from the samples that the ribbon resource is locked to the older style ribbon) Thanks, Scott
|
|
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
|
I would not recommend that.
The change to ribbon gives you the opportunity to rethink the complete menu structure and usage. You will have to decide which menu items are important and should be displayed as a large Icon and others perhaps in a popup menu :-) Hope that helps. PS: We also have an application where you can switch between ribbon and classic menu/toolbars. |
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
If I remember correctly Menu and Ribbon can use Actions. That might make it easier. I also would no recommend to convert the menustructure into a Ribbon. Maybe you can start placing the most used functions logically in the Ribbon and offer to switch back to the menu for the more advanced functions.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
scottp
Groupie Joined: 16 October 2006 Status: Offline Points: 59 |
Post Options
Thanks(0)
|
thanks for the suggestions. The end goal is, of course, to have a completely rethought layout of controls on the ribbon, but we need to start the process somewhere and the existing menu structure (which would quite neatly represent the ribbon tabs anyway) is as good as any starting place. The nature of our application does not really lend itself to hiding "advanced" tools, so all tools would need to be represented on the ribbon in some way.
I am just wondering how best to setup the ribbon to ensure there is an easy way to keep the ribbon contents and the menu/toolbars in sync. The examples show 3 methods: dynamic creation in code, creation via MFC ribbon resource, and creation via XTP layout XML serialization. Do all of these methods provide access to all Ribbon features in XTP? or are some limited? Would any of these methods provide better or worse flexibility and synchronization with a menu/toolbar setup? p.s. Using Toolkit Pro 16.4.0 Windows 8.1 Visual Studio 2013 C++
|
|
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 |