DarkBASIC Professional Help File

DX11 SET WINDOW POSITION

Sets the position of the render window.
Negative values can be specified to move the window out of the screen to the left, assuming your display device's settings allow this.
This function has no effect in fullscreen mode.

Syntax

    DX11 SET WINDOW POSITION x, y

Parameters

    x

> Integer
> The X coordinate, in pixels, to move the window's top left corner to.

    y

> Integer
> The Y coordinate, Iin pixels, to move the window's top left corner to.

Returns

This function does not return a value.

See also

DISPLAY Functions Menu
DX11 Function Categories