Skip to main content
Version: Next

HIDE PROCESS

HIDE PROCESS ( process )

ParameterTypeDescription
processIntegerProcess number or process to be hidden

This command is not thread-safe, it cannot be used in preemptive code.

Description

HIDE PROCESS hides all windows that belong to process. All interface elements of process are hidden until the next SHOW PROCESS. The menu bar of the process is also hidden. This means that opening a window while the process is hidden does not make the screen redraw or display. If the process is already hidden, the command has no effect.

The only exception to this rule is the Debugger window. If the Debugger window is displayed when process is a hidden process, process is displayed and becomes the frontmost process.

If you do not want a process to be displayed when it is created, HIDE PROCESS should be the first command in the process method. The Main Process and Cache Manager processes cannot be hidden using this command.

Even though a process may be hidden, the process is still executing.

Example

The following example hides all the windows belonging to the current process:

 HIDE PROCESS(Current process)

See also

Process state
SHOW PROCESS