Menu deactivation

HandleMenuDeactivate orphans the Mars submenu items.

      void TMarsPresenter::HandleMenuDeactivate(TMenu& theMainMenu)
      {   
          TMarsPresenter::gToolSubMenuItem->GetOwner()->Orphan(*TMarsPresenter::gToolSubMenuItem);
          TMarsPresenter::gColorSubMenuItem->GetOwner()->Orphan(*TMarsPresenter::gColorSubMenuItem);
          TMarsPresenter::gPenSubMenuItem->GetOwner()->Orphan(*TMarsPresenter::gPenSubMenuItem);
          TMarsPresenter::gTextSubMenuItem->GetOwner()->Orphan(*TMarsPresenter::gTextSubMenuItem);
          TGUIPresenter::HandleMenuDeactivate(theMainMenu);
      }

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker