Window_GetSize()

Examples


The Window_GetSize() function returns the current height and width, in pixels, of a specified window.

Syntax

Window_GetSize(window window_name, width, height)

Parameters

window window_name The name of the window for which you wish to retrieve the height and width.

width An integer field or variable to which the specified window’s width is returned.

height An integer field or variable to which the specified window’s height is returned.

Return value

The boolean value true.

Comments

The height and width are expressed in pixels. If the specified window is closed, the width and height parameters are set to 0.


Documentation Feedback