views:

444

answers:

1

Hello,

Is there any way how can I associate custom ribbon (custom tabs and buttons I created in VS designer) with a custom form region?

I know that I can extend the existing windows with my ribbon (such as Compose message, Contacts...), but how can I create a new tab with custom ribbons at the top and custom form region at the bottom. Do I have to create a custom message class?

Thanks.

A: 

You have to create a custom message class. Basically the ribbon and the form are two seperate mechanisms.

What you could try though, if its important for you, is invalidating the ribbon on activation of your form region and then programmatically update the ribbon according to your needs (dynamic updating of the ribbon at msdn).

If you mean it the other way around (showing a certain form region when your ribbon tab is activated) then you can't have it: there are no events/callbacks for the ribbon tabs being changed.

Georg Fritzsche