![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I am having trouble creating new controls on the Ribbon at Runtime.
Given the following sample scenario: When a user opens a certain task - I want to replace the ribbon and add a set of buttons based on that specific task. The problem is the number of buttons being added is not fixed. So Task A might have 3 buttons and Task B might have 5 buttons. Since the number of buttons isn't fixed, I don't see a way to define the buttons ahead of time in the RibbonX definition and use callbacks to update the content of each button. So, I also looked at using the GetCustomUI call to change the XML that is loaded, but this only called the first time Ribbon loads - even if I call Invalidate, so it works for the first task that opens, but how do I update it for the next task that opens? Does anyone have a similar problem or a solution to adding the buttons to the Ribbon in the C# code at runtime? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Dynamic hyperlink | Murphybp2 | Outlook - Using Forms | 0 | April 30th 07 09:41 PM |
Is Restrict Dynamic | MON205 | Outlook - General Queries | 2 | April 4th 07 04:34 PM |
Is Restrict Dynamic | MON205 | Add-ins for Outlook | 2 | April 4th 07 04:34 PM |
Is a dynamic Map to location possible? | Angyl | Outlook - Using Forms | 0 | July 5th 06 06:00 PM |
adding coomand bar buttons to inspector window | Ram | Add-ins for Outlook | 4 | May 26th 06 06:16 AM |