setWindowFocus

Script::setWindowFocus

Focuses the window.

Declaration

void setWindowFocus(WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);

Parameters

Name

Type

Description

windowID

WindowID

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