CloseWindow

Syntax

void CloseWindow(hWnd)

This function minimizes the specified window. If the window is an overlapped window, it is minimized by removing the client area and caption of the open window from the display screen and moving the window's icon into the icon area of the screen.

Parameter Type/Description  

hWnd HWND Identifies the window to be minimized.  

Return Value

None.

Comments

This function has no effect if the hWnd parameter is a handle to a pop-up or child window.