Click here to Skip to main content
15,883,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi again! I see there's a method for adding new categories to a ribbon at runtime, but it creates just an empty category. I wonder how the developer can add items to this new category? Is it actually possible at all?(it should be, 'cause having just an empty category makes no sense, at least to me :/)
Posted

1 solution

It is possoble to update ("edit") ribbon at runtime. There are 2 conditions:
1) add resource,
2) load ribbon from resource

Have a look here:
Walkthrough: Creating a Ribbon Application By Using MFC[^]
Walkthrough: Updating the MFC Scribble Application (Part 1)[^]
Walkthrough: Updating the MFC Scribble Application (Part 2)[^]
 
Share this answer
 

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



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