Text boxes?

This is a discussion on Text boxes? within the C Programming forums, part of the General Programming Boards category; Hi, I'm trying to find a way to make a text box in C, or something that will keep the ...

  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-28-2003, 11:37 PM
  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, 01:37 PM

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