DesktopDepth()

Syntax

Result = DesktopDepth(#Desktop)
Description
Returns the depth (in bits per pixel: 1, 2, 4, 8, 15, 16, 24 or 32 bits) of the specified desktop. The primary desktop always has the index 0. ExamineDesktops() has to be called before this function to retrieves the informations about the desktops.
  ExamineDesktops()
  MessageRequester("Display Information", "Current resolution = "+Str(DesktopWidth(0))+"x"+Str(DesktopHeight(0))+"x"+Str(DesktopDepth(0)))

Supported OS

Windows, Linux, MacOS X

Desktop Index - DesktopFrequency() ->