OpenWindowedScreen()
Syntax
Result = OpenWindowedScreen(WindowID, x, y, Width, Height, AutoStretch, RightOffset, BottomOffset)Description
Open a new screen area according to given parameters on the given Window. If AutoStretch is 1, then the screen area will automatically resize when the window size changes. RightOffset and BottomOffset are used to define a margin on the right and bottom of the window (for statusbar for example). The opened screen is created with 2 video buffers to allow you to do double buffering, especially useful for games. The buffers can be manipulated with the FlipBuffers() command. If the screen fails to open, the result is '0'.
Note: Only one windowed screen can be opened at one time.
Supported OS
All