setWindowBorderless

Script::setWindowBorderless

Removes or adds the window decorations.

Declaration

void setWindowBorderless(bool borderless, WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);

Parameters

Name

Type

Description

borderless

bool

Borderless (true) or with decorations (false).

windowID

WindowID

The window to change the decorations of. By default, this window will be the main window.

Returns

None.

Notes

The main window will be used if windowID is equal to NTSHENGN_WINDOW_UNKNOWN.