Sets the specified window's show state.
object.ShowWindow( hWnd, CmdShow )
- Required. An OLE_HANDLE that specifies the window handle to the window of interest.
- Required. A Long that specifies how the window is to be shown.
CmdShow is a long specifying how the window is to be shown. The possible CmdShow values are:
|0||Closes the window.|
|1||Returns the minimized or maximized window to its normal state and displays the window.|
|2||Displays the window in a minimized state.|
|3||Displays the window in a maximized state.|
|4||Returns the minimized or maximized window to its normal state, but does not display the window.|