Microsoft SDK for Java

SystemInformation.getMenuHeight

Retrieves the height, in pixels, of a single-line menu bar.

Syntax

public static final int getMenuHeight()

Return Value

Returns an integer value that represents the height of one line of a menu.

Remarks

Use the getMenuHeight method to determine the height that is currently defined by Windows for a menu bar.

See Also   getMenuButtonSize, getMenuCheckSize

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