Microsoft SDK for Java

MenuItem.getShortcut

Retrieves the shortcut key that is associated with this menu item.

Syntax

public int getShortcut()

Return Value

Returns the shortcut key. This value is one of the enumeration constants defined in the Shortcut class.

See Also   setShortcut

© 1999 Microsoft Corporation. All rights reserved. Terms of use.