closeWindow

Script::closeWindow

Closes the window. Closing the main window closes the application.

Declaration

void closeWindow(WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);

Parameters

Name

Type

Description

windowID

WindowID

The window to close. 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.

Closing the main window will close the application.