DesktopX()

语法

Result = DesktopX(#Desktop)
概要
Returns the x coordinate of the specified desktop.

参数

#Desktop The index of the desktop. The first index always specifies the primary monitor. The first index value is zero.

返回值

Returns the x coordinate (in pixel) of the top left corner of the desktop. The coordinate is relative to the top left corner of the primary monitor. It is negative if the specified monitor is to the left of the primary monitor.

Remarks

ExamineDesktops() must be called before using this function to retrieve information about the available desktops.

参阅

ExamineDesktops(), DesktopDepth(), DesktopY(), DesktopHeight(), DesktopWidth()

已支持操作系统

所有

<- DesktopWidth() - Desktop Index - DesktopY() ->