Function:
CloseWindow(HWND hWnd)

 

Description:
Minimizes (but does not destroy) the specified window
* As this function already exists as a function native to Authorware it must be loaded from the user32.dll. (For example, Function Name: CloseWindowA=CloseWindow).

 

Parameters:
hWnd: Identifies the window to be minimized.

 

Returns:
Returns 1 if successful, or 0 if an error occurred.

 

Example:
Click on the calc icon to view a sample of the CloseWindow function.