DesktopWidth()

Syntax

Result = DesktopWidth(#Desktop)
Description
Returns the width (in pixels) for the specified desktop. The primary desktop is always specified using 0 as the parameter. ExamineDesktops() must be called before using this function to retrieve information about any of the available desktops.
  ExamineDesktops()
  MessageRequester("Display Information", "Current resolution = "+Str(DesktopWidth(0))+"x"+Str(DesktopHeight(0))+"x"+Str(DesktopDepth(0)))

Supported OS

All

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