+1 vote
by ProFrame (260 points)

Hello Stephen,

Console colours, background and text, can be set with: options>set console-colours

My intension is to do this in my application:

blue text for notify

red text for remarks

Please can you give me an example to do so.

I studied the section with "settextcolors", but a little bit hard for me to succeed in it.

with regards,

Hugo Overbeek

1 Answer

–1 vote
by Stephen Pelc (4.3k points)

See  VFXBase\win32\Wintools.fth, line 838

: ChangeTextColours    \ rgbfore rgbback hWin --
\ *G Change the colours of the text window. The background colour
\ ** is also used to set the window's background colour as well as
\ ** the window's background text colour.

 

...