DarkBASIC Professional Help File

DX11 SET WINDOW STYLE

This function allows you to change the window style at runtime.
This can be used to for example implement a "full desktop" mode where you use this function to remove the title bar and borders from the
render window, resize it to match the desktop size and position it at (0, 0).
A window style is a bitwise combination of one or more of the values listed here.
You can also use the convenience function DX11 BUILD WINDOW STYLE to create a limited set of window styles from a number of boolean parameters.
Take note that this function will do nothing if called when in fullscreen exclusive mode.

Syntax

    DX11 SET WINDOW STYLE style

Parameters

    style

> Dword
> The new style bitmask to set for the render window.

Returns

This function does not return a value.

See also

DISPLAY Functions Menu
DX11 Function Categories