Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

SystemInformation.getCaptionButtonSize

Retrieves the width and height, in pixels, of a button in a window's caption or title bar.

Syntax

public static final Point getCaptionButtonSize()

Return Value

Returns a Point object that represents the dimensions of a caption bar button.

Remarks

Use the getCaptionButtonSize method to get the dimensions of a button in the caption bar of window, to place additional caption buttons in the caption of a window, and to ensure the button is properly sized.

See Also getCaptionHeight