Extending CAB with custom GUI controls

Topics: CAB & Smart Client Software Factory
Mar 23, 2006 at 5:51 AM
originally posted by: pfeds

I've developed a SideBar menu control similar to that used in Outlook. I need to implement an adapter in the shell so that the modules can add/remove items from the SideBar menu.

The SideBar has a method AddMenuItem(string text, Control control) that accepts any kind of control that will be displayed when that menu item is selected.

I've created an adapter and factory, but can't see how other modules can add/remove menu items.

Sorry if I'm being stupid here, but I'm new to the CAB and would really appreciate some advice on how to integrate this. Thanks.
Mar 23, 2006 at 6:18 AM
originally posted by: pfeds

I've just realised I needed to add the custom factory to the UIElementAdapterFactoryCatalog ;o)
Mar 26, 2006 at 1:01 AM
originally posted by: jamait

Hi,

I am trying to implement a sidebar similar to the one in outlook as well. I want to load different modules depending on the menuitem clicked, is that what you have done or? How did you implement the factory?

The way i am trying to do this now is by loop the loaded modules and then create the menu/buttons dynamically.

Any tips or help appriciated!

Thanx

Martin