DesktopX()

Syntax

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

Parameters

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

Return value

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.

See Also

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

Supported OS

All

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