Package com.ms.awt Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Interface MenuXConstants

public interface MenuXConstants
{
	public final int UNCHECKED      = 0;
	public final int BY_COMMAND  = 0;

	public final int POPUP          = 1;
	public final int CHECKED        = 2;
	public final int ENDMENU        = 4;
	public final int SEPARATOR_NEXT = 8;
	public final int BY_POSITION = 16;
}

This interface defines the contants for extended menu objects.

Fields

UNCHECKED
Removes any check mark next to the menu item name.
BY_COMMAND
Searches for menu items by command identifier rather than position.
POPUP
Creates a popup menu having the given name (label).
CHECKED
Places a check mark next to the menu item name.
ENDMENU
Marks the last menu item in the menu.
SEPARATOR_NEXT
Creates a menu item separator immediately after the given item.
BY_POSITION
Searches for menu items by position rather than command identifier.


© 1996 Microsoft Corporation. All rights reserved.