Welcome to MSDN Blogs Sign in | Join | Help

VSTO For Mere Mortals Video: Customizing Built-in Tabs on the Ribbon

This screencast shows you how to customize the Ribbon in Word 2007, by adding a new group of controls to the Home tab.

 

 

View Video                Download Video
                                  (Right-click link)

The video is 03:10 minutes in length, and 8 MB in size.

 

--Kathleen

Published Saturday, February 10, 2007 1:55 AM by kmcgrath

Comments

# re: VSTO For Mere Mortals Video: Customizing Built-in Tabs on the Ribbon

hi

I want to hhandle the inbuilt tab events of office 2007 .

I hv added the addin in office application and i want to change the content of the custom task pane when user changes the inbuilt tabs .

e.g when user selects the "Home" tab the related to home tab should be displayed . like when user selects the "Isert" tab the content sould be different .

Thanks

Tuesday, August 07, 2007 5:03 AM by pallaviK

# re: VSTO For Mere Mortals Video: Customizing Built-in Tabs on the Ribbon

hi

I want to hhandle the inbuilt tab events of office 2007 .

I hv added the addin in office application and i want to change the content of the custom task pane when user changes the inbuilt tabs .

e.g when user selects the "Home" tab the related to home tab should be displayed . like when user selects the "Isert" tab the content sould be different .

Thanks

Tuesday, August 07, 2007 5:04 AM by pallaviK

# re: VSTO For Mere Mortals Video: Customizing Built-in Tabs on the Ribbon

I checked with the product team, and here's an answer I got:  

The only way to see if custom tab or built-in tab with your group was activated is to use the knowledge that when a tab is activated it calls getVisible callbacks for groups and controls on this tab if they were invalidated.

So the algorithm can be as follows: on getVisible callback for a control note which tab was activated and Invalidate controls on all other tabs, so they will receive the getVisible callback when they are activated.

You should use the RibbonX to do it. Ribbon designer object model does not expose getVisible callback.

--Kathleen

Wednesday, August 29, 2007 10:38 PM by kmcgrath
Anonymous comments are disabled
 
Page view tracker