CloseWindow

2.x

  void CloseWindow(hwnd)    
  HWND hwnd; /* handle of window to minimize */

The CloseWindow function minimizes (but does not destroy) the given window. To destroy a window, an application must use the DestroyWindow function.

Parameters

hwnd

Identifies the window to be minimized.

Return Value

This function does not return a value.

Comments

This function has no effect if the hwnd parameter identifies a pop-up or child window.

See Also

DestroyWindow, IsIconic, OpenIcon