Click here to Skip to main content
12,405,700 members (71,858 online)
Rate this:
Please Sign up or sign in to vote.
I am using VC++ 2010 targeting XP and up and would like to dynamically change the ribbon bar which was created using the ribbon designer:

1) change the ICON when a user clicks on an item and then change it back when clicked again.

2) change the text label when a user clicks on an item and change it back when clicked again.   I can already do for the main ribbon bar but how do I do it for the same item in the quick access toolbar and application button list?
Posted 6-Jan-11 5:56am
Updated 6-Jan-11 9:05am
martin_walter 24-Jan-11 15:29pm
So you're writing an extension for an office application? If so, which one?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Well I'm not quite sure, what you're doing, but I'll assume you're writing an office AddIn...
Have a look at msdn.
On that page you will also find links to Office control ID lists, that will help you
to get at and modify builtin controls, to a certain extent, if that's what you're aiming at.
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

I think I have found the answer to my question in the Fluent UI Guidelines for the 2007 Ribbon Design:

They suggest that controls displayed in a group must not change as a result of selection and to disable (gray out), rather than remove them from the group.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 7 Feb 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100