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 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

Desktop Index - DesktopFrequency() ->