DesktopY()

Syntax

Result = DesktopY(#Desktop)
Description
Returns the y 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 y 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 above the primary monitor.

Remarks

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

See Also

ExamineDesktops(), DesktopDepth(), DesktopX(), DesktopHeight(), DesktopWidth()

Supported OS

All

<- DesktopX() - Desktop Index - ExamineDesktops() ->