Click here to Skip to main content
15,068,645 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 6-Jan-11 9:05am
v2
Comments
gammagtmw 24-Jan-11 15:29pm
   
So you're writing an extension for an office application? If so, which one?

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.
   
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.
   
v3

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900