Using OutlookBar - the correct way?

Nov 16, 2008 at 4:22 PM
Hi.

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?

Regards,
Mikael
Nov 17, 2008 at 9:16 AM
Hi,

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.

Regards,
MFelicio.