isWindowResizable

Script::isWindowResizable

Checks if the window can be manually resized.

Declaration

bool isWindowResizable(WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);

Parameters

Name

Type

Description

windowID

WindowID

The window to check the resizability of. By default, this window will be the main window.

Returns

true if the window is manually resizable, else, returns false.

Notes

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

This function will only lock the user’s ability to manually resize the window. The window will still be resizable with setWindowSize.