OpenIcon

2.x

  BOOL OpenIcon(hwnd)    
  HWND hwnd; /* handle of window, */  

The OpenIcon function activates and displays a minimized window. Windows restores the window to its original size and position.

Parameters

hwnd

Identifies the window.

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.

Comments

Using OpenIcon is the same as specifying the SW_SHOWNORMAL flag in a call to the ShowWindow function.

See Also

CloseWindow, IsIconic, ShowWindow