SetConsoleStyle(style)
style
parameter. This can be one or more of the following flags:
#CONSOLESTYLE_NORMAL:#CONSOLESTYLE_BOLD:#CONSOLESTYLE_ITALIC:#CONSOLESTYLE_UNDERLINED:#CONSOLESTYLE_STANDOUT:#CONSOLESTYLE_BLINK:#CONSOLESTYLE_REVERSE:#CONSOLESTYLE_DIM:#CONSOLESTYLE_PROTECT:#CONSOLESTYLE_INVISIBLE:#CONSOLESTYLE_ALTCHARSET:
Note that all style flags are bit masks so you can combine multiple styles using the bitwise
OR operator (|).
To clear console one or more console styles, use the ClearConsoleStyle() function. See ClearConsoleStyle for details.
You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.
EnableAdvancedConsole()
SetConsoleStyle(#CONSOLESTYLE_BOLD|#CONSOLESTYLE_UNDERLINED)
ConsolePrint("Hello World!")
RefreshConsole()
The code above prints the text "Hello World!" in bold and underlined style.