WindowWidth()

Syntax

Result = WindowWidth(#Window [, Mode])
Description
Returns the width (in pixels) of the given window.

Parameters

#Window The window to use.
Mode (optional) The mode used to calculate the width of the window. It can be one of the following value:
  #PB_Window_InnerCoordinate: width of the window inner area (where gadget can be added), 
                              excluding borders (default).
  #PB_Window_FrameCoordinate: width of the window, including borders.

Return value

Returns the width (in pixels) of the given window.

See Also

OpenWindow(), WindowHeight()

Supported OS

All

<- WindowVectorOutput() - Window Index - WindowX() ->