Microsoft SDK for Java

SystemInformation.getMenuButtonSize

Retrieves the dimensions, in pixels, of menu bar buttons.

Syntax

public static final Point getMenuButtonSize()

Return Value

Returns a Point object that represents the size of menu bar buttons.

Remarks

Use the getMenuButtonSize method to determine the size of a menu button, such as the child window close buttons used in a multiple document interface application. The dimensions of a menu button should be similar to the dimensions returned for caption buttons using the getCaptionButtonSize method.

See Also   getMenuCheckSize, getMenuHeight

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