Thread: Text boxes?

  1. #1
    Squamo
    Guest

    Text boxes?

    Hi, I'm trying to find a way to make a text box in C, or something that will keep the text seperate from images, that way, when I clear screen, only the text is cleared, and the image remains.

  2. #2
    Im a Capricorn vsriharsha's Avatar
    Join Date
    Feb 2002
    Posts
    192

    Thumbs up

    Try using

    getimage() and putimage() functions (defined in graphics.h). What u actually do is that u first draw all the images that u want to on the screen and capture that image as it is (using getimage) then u put in the text or do what ever u want to. Now, when u want to clear the screen, clear the screen and put back the stored image (use putimage) onto the screen.

    -Harsha.
    Help everyone you can

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Small HTML question
    By Thantos in forum Tech Board
    Replies: 4
    Last Post: 12-29-2003, 12:37 AM
  2. Replies: 1
    Last Post: 07-13-2002, 05:45 PM
  3. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM
  4. Problem with static text in dialog boxes
    By Clyde in forum Windows Programming
    Replies: 11
    Last Post: 05-28-2002, 12:51 PM
  5. Text Boxes
    By gnu-ehacks in forum Windows Programming
    Replies: 1
    Last Post: 11-22-2001, 02:37 PM