Print Page | Close Window

Customization of Office 2010 Style Ribbon

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=18509
Printed Date: 18 June 2025 at 7:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Customization of Office 2010 Style Ribbon
Posted By: mschumi
Subject: Customization of Office 2010 Style Ribbon
Date Posted: 07 June 2011 at 10:54am
Hi,
in MS Office 2010 it is possible to customize the ribbon and its components:
- Show/hide tabs
- Add/remove custom tabs
- Add/remove custom groups
- Load/save ribbon customizations
See the image below:


I'm currently using XTP Toolkit Pro 15.0.2.

I searched the samples and the XTP source code and only found CXTPRibbonCustomizePage among the sources. When this page is added to the customizing dialog CXTPCustomizeSheet, a customizing page similar to that in Office 2010 shows up. However, obviously the implementation of this page is not finished yet (Buttons are not connected; buttons and other controls that exist in the corresponding Office 2010 page are missing; groups of ribbon tabs other than the active tab are shown as "invisible"; +/- boxes on top level are missing).
See that dialog page below:


Questions:
- Is it on Codejock's roadmap to implement such a ribbon customization in a future version?
- Is it planned to move away from the tabbed customization dialog (see the second image in this post) towards the kind of dialog I find e.g. in MS Excel "File | Options" (see the first image in this post)?

Thanks in advance for your answer,
Michael




Replies:
Posted By: Oleg
Date Posted: 08 June 2011 at 5:34am
Hi,

Yes, indeed CXTPRibbonCustomizePage was added as experimental and not finished.  We have it in todo list for future versions.




-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: cpede
Date Posted: 08 June 2011 at 7:21am
Looking forward to this...
 
-cpede


-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)


Posted By: m.geri
Date Posted: 09 June 2011 at 6:54am
It would be great...


Posted By: chimpy
Date Posted: 29 June 2011 at 6:37pm
I've just checked the very latest 15.1 beta and there is no mention of an Office 2010 customization dialog :(

Is the beta feature complete now, and if so how long will we have to wait for the customization dialog?

thanks



-------------
Product: Xtreme ToolkiPro version 13.2.0
Platform: Windows XP (32bit) - SP 2
Language: C++


Posted By: mschumi
Date Posted: 23 March 2012 at 3:16pm
Hi Oleg,

we are looking forward desperately for such an customization dialog.

Is there any chance for this feature in the near future?
Or do you have any code snippets we could use for our own enhancement of CXTPRibbonCustomizePage?

Thank you and best regards,

Michael


Posted By: SuperMario
Date Posted: 28 March 2012 at 9:05am
Please check the latest version as these options have been added.


Posted By: markr
Date Posted: 30 March 2012 at 3:04pm
This is an excellent addition. But I wish we had more control over the appearance of the new ribbon customization dialog.

For example, it's a bit too wide for my needs. It would be ideal if minimum sizes of the control groupings were shrunk down a bit.

And the controls (e.g. buttons, etc.) also don't fit in with the current theme of my application. But that's fairly minor.

Great work, though. Looking forward to seeing this one evolve.


Posted By: Alex H.
Date Posted: 08 January 2013 at 11:22am
Hello!
Does ist work in Version 15.3.1?

I have tied this code but DoModal returns immediately.
What may be the Problem?

        CXTPPropertySheet cs(_T("Test"), this);
        cs.m_psh.dwFlags |= PSH_NOAPPLYNOW;

        CXTPPropertyPageListNavigator* pList = new CXTPPropertyPageListNavigator();
        pList->SetListStyle(xtpListBoxOffice2007);
        pList->SetPropertySheet(&cs);
       
        cs.SetNavigator(pList);
       
        CXTPRibbonCustomizePage pageCustomizeRibbon(GetCommandBars());;
        cs.AddPage(&pageCustomizeRibbon);
        VERIFY(pageCustomizeRibbon.AddCategories(IDR_CHILDFRAME));
               
        CXTPRibbonCustomizeQuickAccessPage pageQuickAccess(GetCommandBars());
        cs.AddPage(&pageQuickAccess);
        pageQuickAccess.AddCategories(IDR_CHILDFRAME);
       
        cs.DoModal();



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net