DesktopHeight()

Syntax

Result = DesktopHeight(#Desktop)
Description
Returns the height 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 height in pixels.

Remarks

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

Example

  ExamineDesktops()
  MessageRequester("Display Information", "Current resolution = "+Str(DesktopWidth(0))+"x"+Str(DesktopHeight(0))+"x"+Str(DesktopDepth(0)))

See Also

ExamineDesktops(), DesktopDepth(), DesktopX(), DesktopY(), DesktopWidth()

Supported OS

All

<- DesktopFrequency() - Desktop Index - DesktopMouseX() ->