Difference between revisions of "FULLSCREEN (function)"
|Line 2:||Line 2:|
|Line 11:||Line 12:|
'''Note:''' It cannot be assumed that calling
'''Note:''' It cannot be assumed that calling _FULLSCREENwill succeed. It cannot be assumed that the type of full screen will match the requested one. So, always check the _FULLSCREEN function.
|Line 18:||Line 19:|
Revision as of 03:47, 19 January 2010
The _FULLSCREEN function returns the present mode setting of the screen window.
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.
- _FULLSCREEN (statement)