Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Customization of Office 2010 Style Ribbon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Customization of Office 2010 Style Ribbon

 Post Reply Post Reply
Author
Message
mschumi View Drop Down
Groupie
Groupie


Joined: 21 May 2007
Location: Germany
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote mschumi Quote  Post ReplyReply Direct Link To This Post Topic: Customization of Office 2010 Style Ribbon
    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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 645
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2011 at 7:21am
Looking forward to this...
 
-cpede
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
m.geri View Drop Down
Newbie
Newbie


Joined: 24 July 2008
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote m.geri Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2011 at 6:54am
It would be great...
Back to Top
chimpy View Drop Down
Groupie
Groupie
Avatar

Joined: 10 March 2009
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote chimpy Quote  Post ReplyReply Direct Link To This Post 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++
Back to Top
mschumi View Drop Down
Groupie
Groupie


Joined: 21 May 2007
Location: Germany
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote mschumi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2012 at 9:05am
Please check the latest version as these options have been added.
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post 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();
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.