deckworkspace events to change menu

Topics: CAB & Smart Client Software Factory
Dec 12, 2006 at 7:23 AM
originally posted by: SKVIC20

I have two different modules loaded each puting a view on the deck workspace. When one view comes to the top I need to hide the other module/views menu items and toolbars.

I should be able to use the Command object to hide them but I am not sure where? is there an event on the deckwork space to tell me when cards change position and who is on top?

Dec 22, 2006 at 5:18 AM
originally posted by: PJackson

The rule we follow is that each module is responsible for setting up / tearing down its menus when a WorkItem in it is activated/deactivated.

When a SmartPart in a Workspace gets focus, it activates its WorkItem.