GetDeskTopWidth
Width = GetDeskTopWidth()
 
Parameters: NONE
Returns:

    Width = The current width of the desk top
 

      GetDeskTopWidth() returns the width in pixels of the windows desk top.



FACTS:


      * none



Mini Tutorial:


      Display the size of the windows desktop

  
  
  Print "Desk Top Width:"+Str$(GetDesktopWidth())
  Print "Desk Top Height:"+Str$(GetDesktopHeight())
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  



If your desktop is set to 1024x,768y, then this example would output.

  
  Desk Top Width:1024
  Desk Top Height:768
  

 
Related Info: GetDeskTopHeight | GetScreenHeight | GetScreenWidth :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com