Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

SystemInformation.getCaptionHeight

Retrieves the height, in pixels, of the normal caption area of a window.

Syntax

public static final int getCaptionHeight()

Return Value

Returns an integer value that represents the height of the caption area of a window.

Remarks

Use the getCaptionHeight method to determine the size of the standard window caption. You can also perform special display operations or add a caption button to the caption of a window.

See Also getCaptionButtonSize