Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

SetConsole( )

Action: Allows you to change the display state of the command-prompt window in which KiXtart is running.
Syntax: SETCONSOLE("mode")
Parameters: Mode

String that specifies the new display state. The following table shows the display states that are supported by this function.


Show window
HIDE Hide window
FOREGROUND Move window to foreground
ALWAYSONTOP Bring window to top
MINIMIZE Minimize window
MAXIMIZE Maximize window
Remarks: If you hide the window, it does not disappear from the system, but remains active.
0 Display state changed
Error code Function failed  

If SetConsole ("FOREGROUND") = 0
  ? "Console moved to foreground......"