Console_ShowWindow
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > Console > Console_ShowWindow |
Description
Sets the console's window show state.
Syntax
Console_ShowWindow(nCmdShow AS NUMBER) AS NUMBER
Returns
Return a number
If the window was previously visible, the return value is nonzero.
If the window was previously hidden, the return value is zero.
Parameters
Name |
Type |
Optional |
Meaning |
nCmdShow |
Numeric |
No |
Specifies how the window is to be shown, it can be one of following: %Console_SW_FORCEMINIMIZE %Console_SW_HIDE %Console_SW_MAXIMIZE %Console_SW_MINIMIZE %Console_SW_RESTORE %Console_SW_SHOW %Console_SW_SHOWDEFAULT %Console_SW_SHOWMAXIMIZED %Console_SW_SHOWMINIMIZED %Console_SW_SHOWMINNOACTIVE %Console_SW_SHOWNA %Console_SW_SHOWNOACTIVATE %Console_SW_SHOWNORMAL |
Remarks
Restrictions
See also
Console Module, Console_FullScreen, Console_NormalScreen
Examples
Console_ShowWindow(%Console_SW_SHOW)