Package com.ms.ui |
![]() Previous |
![]() Contents |
![]() Index |
![]() Next |
public interface IUIRootContainer extends IUIContainer { // Methods public void endMenu(IUIMenuLauncher ml); public IUIMenuLauncher getLaunchedMenu(); public void launchMenu(IUIMenuLauncher ml); }
Defines an interface for the extensions to the Container class for all root window classes (Applet, Frame, and Window). IUIRootContainer provides methods associated with the launching and cancelling of a pop-up menu.
public void endMenu(IUIMenuLauncher ml);Terminates the root container's launch of the menu controlled by the specified menu launcher. Any previously launched menu is cancelled.
Return Value:
No return value.
Parameter Description ml The menu launcher that is requesting the termination of the launch.
public IUIMenuLauncher getLaunchedMenu();Retrieves the menu launcher associated with the root container's currently launched menu.
Return Value:
Returns the menu launcher object, which implements the IUIMenuLauncher interface.
public void launchMenu(IUIMenuLauncher ml);Launches the menu controlled by the specified menu launcher, using the root container's pop-up window. Any previously launched menu is cancelled.
Return Value:
No return value.
Parameter Description ml The menu launcher that is requesting the launch.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.