DesktopFrequency()

Syntax

Result = DesktopFrequency(#Desktop)
Description
Returns the frequency (in Hertz) 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. If 'Result' returns 0, then the default hardware frequency is being used (i.e. the user did not change it from the default setting).
  ExamineDesktops()
  f = DesktopFrequency(0)
  If f = 0
    MessageRequester("Display Information", "There isn't set any desktop frequency, the standard hardware frequency is used.")
  Else
    MessageRequester("Display Information", "Frequency of desktop: "+Str(f)+" Hz.")
  EndIf

Supported OS

All

<- DesktopDepth() - Desktop Index - DesktopHeight() ->