The _FULLSCREEN function returns the present status of the screen window.
Syntax: full = _FULLSCREEN
- 0 = _OFF (any non-0 value means fullscreen is on)
- 1 = _STRETCH
- 2 = _SQUAREPIXELS
Note: It cannot be assumed that calling _FULLSCREEN will succeed. It cannot be assumed that the type of full screen will match the requested one. So, always check the _FULLSCREEN function.
Warning: Despite your software, the user's hardware, drivers and monitor may not function in some modes. Thus, it is highly recommended that you manually confirm with the user whether the switch to full screen was successful. This can be done "quietly" in some cases by getting the user to click on a button on screen with their mouse or press an unusual key. If the user does not respond after about 8 seconds, switch them back to windowed mode.
See also: _FULLSCREEN (statement)