Difference between revisions of "FULLSCREEN (function)"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Cyperium
Line 2: Line 2:




''Syntax:''  full = _FULLSCREEN
{{PageSyntax}}
:<code>{{Parameter|full}} = {{KW|_FULLSCREEN (function)|FULLSCREEN}}</code>




Line 11: Line 12:




'''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.
'''Note:''' It cannot be assumed that calling {{KW|_FULLSCREEN}} will 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:




See also: [[_FULLSCREEN]] (statement)
{{PageSeeAlso}}
*{{KW|_FULLSCREEN}} (statement)






==Navigation:==
{{PageNavigation}}
 
[[Keyword_Reference_-_Alphabetical|Go to Keyword Reference - Alphabetical]]
 
[[Keyword Reference - By usage|Go to Keyword Reference - By usage]]

Revision as of 03:47, 19 January 2010

The _FULLSCREEN function returns the present mode setting of the screen window.


Syntax

full = FULLSCREEN


Returns:

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




Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page