Skip to main content

overwolf.windows.bringToFront

Overwolf APIs / overwolf / overwolf / windows / bringToFront

Call Signature

function bringToFront(
windowId: string,
callback: CallbackFunction<WindowIdResult>,
): void;

Brings the requested window to the front.

Parameters

ParameterTypeDescription
windowIdstringThe id or name of the window.
callbackCallbackFunction<WindowIdResult>Called with the result of the request.

Returns

void

Call Signature

function bringToFront(callback: CallbackFunction<WindowIdResult>): void;

Brings this window to the front.

Parameters

ParameterTypeDescription
callbackCallbackFunction<WindowIdResult>Called with the result of the request.

Returns

void

Call Signature

function bringToFront(
grabFocus: boolean,
callback: CallbackFunction<WindowIdResult>,
): void;

Brings this window to the front.

Parameters

ParameterTypeDescription
grabFocusbooleanWindow will take system focus.
callbackCallbackFunction<WindowIdResult>Called with the result of the request.

Returns

void

Call Signature

function bringToFront(
windowId: string,
grabFocus: boolean,
callback: CallbackFunction<WindowIdResult>,
): void;

Brings the requested window to the front.

Parameters

ParameterTypeDescription
windowIdstringThe id or name of the window.
grabFocusbooleanWindow will take system focus.
callbackCallbackFunction<WindowIdResult>Called with the result of the request.

Returns

void