Console

rconsolehide

Hides the current Windows console window .

Syntax

rconsolehide()
Aliases consolehide

Description

Hides the current Windows console window . The function does not call console detachment, so it does not detach from or destroy the console. If no console window exists, the call returns without doing anything.

Call it without parameters. The function reads the needed context from the current runtime state.

It does not return data. Treat the call as an action and handle errors around the call site when needed.

Example

Hide the current Windows console without detaching from it.

rconsolecreate()
rconsolehide()