DocShow shows or hides a document window.
Return Value
If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).
Parameters
Identifies the document.
nCmdShow specifies how the document window is to be shown:
| Value | Meaning |
|---|---|
| SW_HIDE | Hides the window and passes activation to another window. |
| SW_SHOW | Activates the window and displays it in its current size and position. |
| SW_SHOWNORMAL | Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position. |
| SW_MAXIMIZE | Activates the window and displays it as a maximized window. |
| SW_MINIMIZE | Minimizes the window and activates the top-level window. |
| SW_SHOWNOACTIVATE | Displays the window as minimized (iconic) window. The window that is currently active remains active. |
| SW_RESTORE | Same as SW_SHOWNORMAL. |
See also
id-1083123