|
|
| GetScreenWidth | ||
| Width = GetScreenWidth() | ||
| Parameters: NONE | ||
| Returns: Width = The width (in pixels) of the graphics area of the screen |
||
GetScreenWidth() returns the current width in pixels of the display area of the screen. FACTS: * When in windowed mode, the returned width will not include the windows boarders, just the pixel area. Mini Tutorial: Display the current width/height/depth and type of the screen currently in use.
Since PlayBASIC default screen settings are 800,600,16,1 the above code will output.
Note: Since it's running windowed mode, it might not have a screen depth of 16. |
| Related Info: | GetScreenDepth | GetScreenHeight | GetScreenType | GetSurfaceHeight | GetSurfaceWidth | OpenScreen : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |