BBjTopLevelWindow::getOuterHeight

Description

In BBj 15.0 and higher, this method returns the outer height of a BBjTopLevelWindow, including the title bar and borders.

Syntax

Return Value

Method

int

getOuterHeight()

Parameters

None.

Return Value

Returns the outer height of the BBjTopLevelWindow, including the title bar and borders.

Remarks

None.

Example

rem ' getOuterX, getOuterY, getOuterWidth, getOuterHeight

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(100,100,200,200,"BBjWindow",$00090003$)
window!.setCallback(window!.ON_CLOSE,"eoj")
print "Window outer bounds:",
print window!.getOuterX(),window!.getOuterY(),
print window!.getOuterWidth(),window!.getOuterHeight()
process_events

eoj:
release

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.