Using OutlookBar - the correct way?

Nov 16, 2008 at 5:22 PM

I added an OutlookBar into my application's shell using these instructions. It worked but it bothers me that to add a module to the shell, module has to know that it is added to an OutlookBar. This is because one has to use OutlookBarControl.SetOutlookBarMetadata from the module to set the basic settings. IMHO the module shouldn't know about the type of the region where it is shown.

So my question is, is there a nice way around this?

Nov 17, 2008 at 10:16 AM

you can create a wrapper called NavigationService or something and set the metadata there instead of doing it in your modules. Thats what i'm doing.