Sets the specified window's show state.
object.ShowWindow( hWnd, CmdShow ) |
- hWnd
- Required. An OLE_HANDLE that specifies the window handle to the window of interest.
- CmdShow
- Required. A Long that specifies how the window is to be shown.
Boolean
CmdShow is a long specifying how the window is to be shown. The possible CmdShow values are:
CmdShow | Action |
---|---|
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. |