getWindowWidth

Script::getWindowWidth

Returns the width of the window.

Declaration

int getWindowWidth(WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);

Parameters

Name

Type

Description

windowID

WindowID

The window to get the width of. By default, this window will be the main window.

Returns

The width of the window.

Notes

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