GetWindowHandle

InstallShield 2019 ยป InstallScript Language Reference

The GetWindowHandle function gets the handle of the main window of the installation.

Syntax

GetWindowHandle ( nHwndFlag );

Parameters

GetWindowHandle Parameters

Parameter

Description

nHwndFlag

Specifies the window handle of InstallShield's main window. Pass the predefined constant HWND_INSTALL in this parameter.

Return Values

GetWindowHandle Parameters

Return Value

Description

X

Where X is the handle of the window.

< 0

GetWindowHandle was unable to retrieve the handle.

See Also