Print out to the console with formatted text



  • On 27/06/2016 at 13:46, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R13 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi,

    I would like to know if it is possible to write into the console using formatted text i.e. different colors, bold style, and so on.

    For example I could notice GePrint() has no option for this purpose, and I can see there's an enumeration value for COLOR_CONSOLE_TEXT, however I couldn´t find how to use it.

    Thanks in advance for your kind support



  • On 28/06/2016 at 04:15, xxxxxxxx wrote:

    Hi,

    it's not possible to have formatted text in the console.
    COLOR_CONSOLE_TEXT isn't used currently. But in general the defines in this enum just provide means to access the colors configured by the user, they can't be used to temporarily (i.e. for just one word) change colors.
    Sorry.


Log in to reply