WindowX()

语法

Result = WindowX(#Window [, Mode])
概要
Returns the x position on the screen of the given window.

参数

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

返回值

Returns the x position (from the left) on the screen (in pixels) of the given window.

参阅

OpenWindow(), WindowY()

已支持操作系统

所有

<- WindowWidth() - Window Index - WindowY() ->