ShowWindow
InstallShield 2020 » InstallScript Language Reference
The ShowWindow function sets the specified window's show state.
Syntax
BOOL ShowWindow(
HWND hWnd, // handle to window
int nCmdShow // show state
);
Parameters
Parameter |
Description |
|||||||||||||||||||||||||||||||||||||||
hWnd |
Specifies the handle to the window. |
|||||||||||||||||||||||||||||||||||||||
nCmdShow |
Specifies the show state of the window. If the program that launched the application includes a STARTUPINFO structure, this parameter is ignored the first time the application calls ShowWindow. Otherwise, the first time ShowWindow is called, the value should be the value obtained by the WinMain function in its nCmdShow parameter. In subsequent calls, this parameter can be one of the following values.
|
Return Values
Return Value |
Description |
Nonzero |
The return value is nonzero if the window was visible. |
0 |
The return value is 0 if the window was hidden. |
Additional Information
This information was adapted from the MSDN topic ShowWindow Function.