question about printing on screen and not overwriting text...

This is a discussion on question about printing on screen and not overwriting text... within the C Programming forums, part of the General Programming Boards category; is there anyway that you can change the backround color of text that keeps the text on screen? im using ...

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    221

    question about printing on screen and not overwriting text...

    is there anyway that you can change the backround color of text that keeps the text on screen?
    im using ansi codes to make a "highlight" function for a menu of a game and i need someway, if possible, to keep the words on screen and change the backround color of the selected item within a bounds

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    221
    if there's a function that changes the foreground and background colors without changing text in a certain area, that'd be great

  3. #3
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    I don't know everything that is ansi or not (btw do you mean standard ansi?) but the only way I know of is to reprint the text each time, changing the color codes of the text when needed.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21