Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

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