.. highlightlang:: us .. index:: AppCmdWndShow .. _appcmdwndshow: AppCmdWndShow ============= .. us.tag AppCmdWndShow ENGLISH App New300 :ref:`AppCmdWndShow` shows or hides the UniScript command window. .. function:: bool = AppCmdWndShow(nCmdShow) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: nCmdShow *nCmdShow* specifies how the command window is to be shown: .. list-table:: :header-rows: 1 * - 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. .. seealso:: :ref:`overview-application-object`, :ref:`AppCmdWndClear` :sub:`id-302288`