ch = MakeConsoleChr(c[, style, pen])
MakeConsoleChr() takes the character passed in c and applies the style settings passed
in style and the color settings of the pen passed in pen to it.
The character must be passed by its numeric Unicode codepoint, not as a string. So
for the character 'A' you would have to pass the value 65 in c. Alternatively, you
can also pass one of the following special characters in c:
#CONSOLECHR_BLOCK:#CONSOLECHR_BOARD:#CONSOLECHR_BTEE:#CONSOLECHR_BULLET:#CONSOLECHR_CKBOARD:#CONSOLECHR_DARROW:#CONSOLECHR_DEGREE:#CONSOLECHR_DIAMOND:#CONSOLECHR_GEQUAL:#CONSOLECHR_HLINE:#CONSOLECHR_LANTERN:#CONSOLECHR_LARROW:#CONSOLECHR_LEQUAL:#CONSOLECHR_LLCORNER:#CONSOLECHR_LRCORNER:#CONSOLECHR_LTEE:#CONSOLECHR_NEQUAL:#CONSOLECHR_PI:#CONSOLECHR_PLMINUS:#CONSOLECHR_PLUS:#CONSOLECHR_RARROW:#CONSOLECHR_RTEE:#CONSOLECHR_S1:#CONSOLECHR_S3:#CONSOLECHR_S7:#CONSOLECHR_S9:#CONSOLECHR_STERLING:#CONSOLECHR_TTEE:#CONSOLECHR_UARROW:#CONSOLECHR_ULCORNER:#CONSOLECHR_URCORNER:#CONSOLECHR_VLINE:
The style parameter supports all console styles offered by the SetConsoleStyle() function.
See SetConsoleStyle for details. If you don't want to set any style flags, you can pass the
special style #CONSOLESTYLE_NONE for style. In that case, MakeConsoleChr()
won't apply any styles.
The optional parameter pen can be used to define the pen that should be used to
draw the character. Fore- and background colors of that pen can be initialized using
the InitConsoleColor() function. See InitConsoleColor for details.
To decompose a character that contains style or color formatting into its constituents, use the DecomposeConsoleChr() function. See DecomposeConsoleChr for details.
You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.
#CONSOLESTYLE_NONE to ignore the argument